| Modifier and Type | Method and Description |
|---|---|
| public ChannelListener. | getCloseSetter()
Redeclares org. Get the setter which can be used to change the close listener for this channel. |
| public SocketAddress | |
| public <A extends SocketAddress> A | Returns: the peer address, ornull if unknownthe address type class type)Get the peer address of a given type, or |
| getCloseSetter | back to summary |
|---|---|
| public ChannelListener. Redeclares org. Doc from org. Get the setter which can be used to change the close listener for this channel. If the channel is already closed, then the listener will not be called.
| |
| getPeerAddress | back to summary |
|---|---|
| public SocketAddress getPeerAddress() Get the peer address of this channel.
| |
| getPeerAddress | back to summary |
|---|---|
| public <A extends SocketAddress> A getPeerAddress(Class<A> type) Get the peer address of a given type, or
| |