Package top.wcpe.beacon.agent.api
Interface TopicHandler
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
主题消息处理器(函数式接口)。在中间件后台线程触发,绝不在 MC 主线程。
-
Method Summary
-
Method Details
-
handle
处理一条主题消息。- Parameters:
topic- 主题名payload- 业务负载(泛型树)
-