Interface IncomingMessageQueueListener


public interface IncomingMessageQueueListener
Listener for incoming message queue.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    bytesReceived(int byte_count)
    The given number of bytes read from the connection.
    boolean
    A message has been read from the connection.
  • Method Details

    • messageReceived

      boolean messageReceived(Message message)
      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