Interface MessageHandler.SyncMessageHandler

Enclosing interface:
MessageHandler
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 static interface MessageHandler.SyncMessageHandler
Functional interface for synchronous message handling.

Used with MessageHandler.sync(SyncMessageHandler) to create async handlers from synchronous code.

See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    handle(Message message)