public class DefaultMqttConnectStatusListener extends Object implements IMqttConnectStatusListener
public void online(org.tio.core.ChannelContext context,
String clientId,
String username)
IMqttConnectStatusListeneronline 在接口中 IMqttConnectStatusListenercontext - ChannelContextclientId - clientIdusername - usernamepublic void offline(org.tio.core.ChannelContext context,
String clientId,
String username,
String reason)
IMqttConnectStatusListeneroffline 在接口中 IMqttConnectStatusListenercontext - ChannelContextclientId - clientIdusername - usernamereason - reasonCopyright © 2022. All rights reserved.