public interface BoundChannel extends CloseableChannel
EMPTY
Modifier and Type | Method and Description |
---|---|
ChannelListener.Setter<? extends BoundChannel> |
getCloseSetter()
Get the setter which can be used to change the close listener for this channel.
|
SocketAddress |
getLocalAddress()
Get the local address that this channel is bound to.
|
<A extends SocketAddress> |
getLocalAddress(Class<A> type)
Get the local address of a given type, or
null if the address is not of that
type. |
close, getIoThread, getWorker
getOption, setOption, supportsOption
SocketAddress getLocalAddress()
<A extends SocketAddress> A getLocalAddress(Class<A> type)
null
if the address is not of that
type.A
- the address typetype
- the address type classnull
if unknownChannelListener.Setter<? extends BoundChannel> getCloseSetter()
getCloseSetter
in interface CloseableChannel
Copyright © 2017 JBoss by Red Hat. All rights reserved.