
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.
|
java.net.SocketAddress |
getLocalAddress()
Get the local address that this channel is bound to.
|
<A extends java.net.SocketAddress> |
getLocalAddress(java.lang.Class<A> type)
Get the local address of a given type, or
null if the address is not of that
type. |
close, getWorkergetOption, setOption, supportsOptionjava.net.SocketAddress getLocalAddress()
<A extends java.net.SocketAddress> A getLocalAddress(java.lang.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 © 2010 JBoss, a division of Red Hat, Inc.