Interface MessageEventHandler<T>

  • Type Parameters:
    T - The type of object created by the event.
    All Known Implementing Classes:
    EventDispenser

    public interface MessageEventHandler<T>
    Interface implemented to receive events of specific types.
    • Method Detail

      • handleEvent

        void handleEvent​(MessageContext context,
                         T value)
        Invoked when such an event arrives.
        Parameters:
        context - The context of the message.
        value - The value.