| 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 ChannelListener. | getWriteSetter()
Redeclares org. Get the setter which can be used to change the write listener for this channel. |
| public boolean | Returns: the result of the send operation;true if the message was sent, or false if it would blockthe message to send buffer)Send a complete message. |
| public boolean | Returns: the result of the send operation;true if the message was sent, or false if it would blockthe buffers holding the message to send buffers)Send a complete message. |
| public boolean | Returns: the result of the send operation;true if the message was sent, or false if it would blockthe buffers holding the message to send buffers, int the offset into the buffer array of the first buffer offs, int the number of buffers that contain data to send len)Send a complete message. |
| public boolean | Returns: the result of the send operation;true if the message was sent, or false if it would blockthe message to send buffer)Send a complete message. |
| public boolean | Returns: the result of the send operation;true if the message was sent, or false if it would blockthe buffers holding the message to send buffers)Send a complete message. |
| public boolean | Returns: the result of the send operation;true if the message was sent, or false if it would blockthe buffers holding the message to send buffers, int the offset into the buffer array of the first buffer offs, int the number of buffers that contain data to send len)Send a complete message. |
| 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.
| |
| getWriteSetter | back to summary |
|---|---|
| public ChannelListener. Redeclares org. Doc from org. Get the setter which can be used to change the write listener for this channel.
| |
| send | back to summary |
|---|---|
| public boolean send(ByteBuffer buffer) throws IOException Send a complete message.
| |
| send | back to summary |
|---|---|
| public boolean send(ByteBuffer[] buffers) throws IOException Send a complete message.
| |
| send | back to summary |
|---|---|
| public boolean send(ByteBuffer[] buffers, int offs, int len) throws IOException Send a complete message.
| |
| sendFinal | back to summary |
|---|---|
| public boolean sendFinal(ByteBuffer buffer) throws IOException Send a complete message. If the message was successfully sent the channel with have its writes shutdown.
| |
| sendFinal | back to summary |
|---|---|
| public boolean sendFinal(ByteBuffer[] buffers) throws IOException Send a complete message. If the message was successfully sent the channel with have its writes shutdown.
| |
| sendFinal | back to summary |
|---|---|
| public boolean sendFinal(ByteBuffer[] buffers, int offs, int len) throws IOException Send a complete message. If the message was successfully sent the channel with have its writes shutdown.
| |