Interface IncomingMessageQueueListener
public interface IncomingMessageQueueListener
Listener for incoming message queue.
-
Method Summary
Modifier and TypeMethodDescriptionvoidbytesReceived(long byte_count) The given number of bytes read from the connection.booleanmessageReceived(Message message) A message has been read from the connection.
-
Method Details
-
messageReceived
A message has been read from the connection.- Parameters:
message- received- Returns:
- true if this message was accepted, false if not handled
-
bytesReceived
void bytesReceived(long byte_count) The given number of bytes read from the connection.- Parameters:
byte_count- number of protocol bytes
-