Module bus.extra

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 interface MessageHandler
消息处理器
Since:
Java 17+
Author:
Kimi Liu
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    handle(Message message)
    处理消息
  • Method Details

    • handle

      void handle(Message message)
      处理消息
      Parameters:
      message - 消息