| 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. | getReadSetter()
Redeclares org. Get the setter which can be used to change the read listener for this channel. |
| public int | Returns: the size of the received message, 0 if no message is available, and -1 if the message channel has reached an end-of-file conditionthe buffer that will hold the message buffer)Receive a message. |
| public long | Returns: the size of the received message, 0 if no message is available, and -1 if the message channel has reached an end-of-file conditionthe buffers that will hold the message buffers)Receive a message. |
| public long | Returns: the size of the received message, 0 if no message is available, and -1 if the message channel has reached an end-of-file conditionthe buffers that will hold the message buffers, int the offset into the array of buffers of the first buffer to read into offs, int the number of buffers to fill len)Receive a 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.
| |
| getReadSetter | back to summary |
|---|---|
| public ChannelListener. Redeclares org. Doc from org. Get the setter which can be used to change the read listener for this channel.
| |
| receive | back to summary |
|---|---|
| public int receive(ByteBuffer buffer) throws IOException Receive a message.
| |
| receive | back to summary |
|---|---|
| public long receive(ByteBuffer[] buffers) throws IOException Receive a message.
| |
| receive | back to summary |
|---|---|
| public long receive(ByteBuffer[] buffers, int offs, int len) throws IOException Receive a message.
| |