Package com.biglybt.pif.network
Interface IncomingMessageQueueListener
public interface IncomingMessageQueueListener
Listener for incoming message queue.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
bytesReceived
(int byte_count) The given number of bytes read from the connection.boolean
messageReceived
(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(int byte_count) The given number of bytes read from the connection.- Parameters:
byte_count
- number of protocol bytes
-