Interface MessageHandler<MessageType>

Type Parameters:
MessageType - the type of message handled.
All Known Subinterfaces:
EIEIOMessageHandler

public interface MessageHandler<MessageType>
Handles a message received from a connection.
Author:
Donal Fellows
  • Method Summary

    Modifier and Type Method Description
    void handle​(MessageType message)
    The callback for handling the message.
  • Method Details

    • handle

      void handle​(MessageType message)
      The callback for handling the message.
      Parameters:
      message - The message that was received.