| Modifier and Type | Method and Description |
|---|---|
| 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 dst)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 dsts, 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. |
| receive | back to summary |
|---|---|
| public int receive(ByteBuffer dst) throws IOException Receive a message.
| |
| receive | back to summary |
|---|---|
| public long receive(ByteBuffer[] dsts, int offs, int len) throws IOException Receive a message.
| |