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, getLocalAddress
close, getIoThread, getWorker
getOption, setOption, supportsOption
SocketAddress 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 BoundChannel
getCloseSetter
in interface CloseableChannel
Copyright © 2016 JBoss by Red Hat. All rights reserved.