Interface IMqttClientGlobalMessageListener
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
mqtt 全局消息处理
- Author:
- L.cm
-
Method Summary
-
Method Details
-
onMessage
void onMessage(org.tio.core.ChannelContext context, String topic, org.dromara.mica.mqtt.codec.MqttPublishMessage message, byte[] payload) 监听到消息- Parameters:
context- ChannelContexttopic- topicmessage- MqttPublishMessagepayload- payload
-