@FunctionalInterface public interface IMqttClientMessageListener
| 限定符和类型 | 方法和说明 |
|---|---|
void |
onMessage(String topic,
ByteBuffer payload)
监听到消息
|
void onMessage(String topic, ByteBuffer payload)
topic - topicpayload - payloadCopyright © 2021. All rights reserved.