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