Package com.biglybt.pif.network
Interface IncomingMessageQueueListener
-
public interface IncomingMessageQueueListener
Listener for incoming message queue.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
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 Detail
-
messageReceived
boolean messageReceived(Message message)
A message has been read from the connection.- Parameters:
message
- recevied- 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
-
-