Interface IMqttConnectStatusListener

    • Method Detail

      • online

        void online​(org.tio.core.ChannelContext context,
                    String clientId,
                    String username)
        设备上线(连接成功)
        Parameters:
        context - ChannelContext
        clientId - clientId
        username - username
      • offline

        void offline​(org.tio.core.ChannelContext context,
                     String clientId,
                     String username)
        设备离线
        Parameters:
        context - ChannelContext
        clientId - clientId
        username - username