public interface BoundChannel extends CloseableChannel
| 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, getWorkergetOption, setOption, supportsOptionSocketAddress 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 CloseableChannelCopyright © 2012 JBoss by Red Hat. All Rights Reserved.