org.gudy.azureus2.plugins.network
Interface IncomingMessageQueueListener


public interface IncomingMessageQueueListener

Listener for incoming message queue.


Method Summary
 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