Interface MessageHandler<T>

Type Parameters:
T - the message type
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface MessageHandler<T>
Handles and converts Messages.
Since:
1.0.0
Author:
Elliott Pope
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    handle(T message)
    Perform some action when receiving a message.
  • Method Details

    • handle

      void handle(T message)
      Perform some action when receiving a message.
      Parameters:
      message - the message