Interface MessageHandler<T extends JsonMessage>

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 extends JsonMessage>
An event handler which accepts the decoded body of the message and returns nothing.
See Also:
WithEventBus.register(String, MessageHandler, Class)
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    handle​(T body)
     
  • Method Details

    • handle

      void handle(T body)