public interface IMqttClientConnectListener
| 限定符和类型 | 方法和说明 |
|---|---|
void |
onConnected(org.tio.core.ChannelContext context,
boolean isReconnect)
监听到消息
|
void |
onDisconnect(org.tio.core.ChannelContext context,
Throwable throwable,
String remark,
boolean isRemove)
连接关闭前触发本方法
|
Copyright © 2022. All rights reserved.