| Modifier and Type | Field and Description |
|---|---|
| private final ConnectedChannel |
| Access | Constructor and Description |
|---|---|
| public | AssembledConnectedChannel(final SuspendableReadChannel
the read channel readChannel, final SuspendableWriteChannel the write channel writeChannel)Construct a new instance. |
| Modifier and Type | Method and Description |
|---|---|
| public ChannelListener. | getCloseSetter()
Overrides org. Implements org. Get the setter which can be used to change the close listener for this channel. |
| public SocketAddress | getLocalAddress()
Implements org. Get the local address that this channel is bound to. |
| public <A extends SocketAddress> A | getLocalAddress(final Class<A>
the address type class type)Implements org. Get the local address of a given type, or |
| public SocketAddress | getPeerAddress()
Implements org. Get the peer address of this channel. |
| public <A extends SocketAddress> A | getPeerAddress(final Class<A>
the address type class type)Implements org. Get the peer address of a given type, or |
| connection | back to summary |
|---|---|
| private final ConnectedChannel connection | |
| AssembledConnectedChannel | back to summary |
|---|---|
| public AssembledConnectedChannel(final SuspendableReadChannel readChannel, final SuspendableWriteChannel writeChannel) Construct a new instance. At least one of the channels must be an instance of
| |
| getCloseSetter | back to summary |
|---|---|
| public ChannelListener. Overrides org. Implements 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.
| |
| getLocalAddress | back to summary |
|---|---|
| public SocketAddress getLocalAddress() Implements org. Doc from org. Get the local address that this channel is bound to.
| |
| getLocalAddress | back to summary |
|---|---|
| public <A extends SocketAddress> A getLocalAddress(final Class<A> type) Implements org. Doc from org. Get the local address of a given type, or
| |
| getPeerAddress | back to summary |
|---|---|
| public SocketAddress getPeerAddress() Implements org. Doc from org. Get the peer address of this channel.
| |
| getPeerAddress | back to summary |
|---|---|
| public <A extends SocketAddress> A getPeerAddress(final Class<A> type) Implements org. Doc from org. Get the peer address of a given type, or
| |