public interface Receiver
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasMoreToReceive()
This receiver has more of a multi-part message waiting for receipt.
|
byte[] |
receive()
Receive a message part from a socket.
|
int |
receive(byte[] buf,
int offset,
int len,
MessageFlag flag)
Receive a message part from a socket.
|
byte[] |
receive(MessageFlag flag)
Receive a message part from a socket.
|
int |
receiveByteBuffer(ByteBuffer buf,
MessageFlag flag)
Receive a message part from a socket into a byte buffer.
|
Message |
receiveMessage()
Receive the full message (all frames) from the socket.
|
Message |
receiveMessage(MessageFlag flag)
Receive the full message (all frames) from the socket.
|
RoutedMessage |
receiveRoutedMessage()
Receive a routed message (all frames) from the socket.
|
RoutedMessage |
receiveRoutedMessage(MessageFlag flag)
Receive a routed message (all frames) from the socket.
|
byte[] receive()
byte[] receive(MessageFlag flag)
flag - Flag controlling behavior of the receive operationint receive(byte[] buf,
int offset,
int len,
MessageFlag flag)
buf - The byte bufferoffset - The buffer offsetlen - The buffer lengthflag - Flag controlling behavior of the receive operationint receiveByteBuffer(ByteBuffer buf, MessageFlag flag)
buf - The byte bufferflag - Flag controlling behavior of the receive operationboolean hasMoreToReceive()
Message receiveMessage()
Message receiveMessage(MessageFlag flag)
flag - Flag controlling behavior of the receive operationRoutedMessage receiveRoutedMessage()
RoutedMessage receiveRoutedMessage(MessageFlag flag)
flag - Flag controlling behavior of the receive operationCopyright © 2019. All rights reserved.