Interface IMqttMessageListener
-
- 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 IMqttMessageListener
mqtt 消息处理- Author:
- L.cm
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonMessage(org.tio.core.ChannelContext context, String clientId, br.com.anteros.mqtt.core.server.model.Message message)监听到消息
-
-
-
Method Detail
-
onMessage
void onMessage(org.tio.core.ChannelContext context, String clientId, br.com.anteros.mqtt.core.server.model.Message message)监听到消息- Parameters:
context- ChannelContextclientId- clientIdmessage- Message
-
-