Interface IMqttServerUniqueIdService

    • Method Detail

      • getUniqueId

        String getUniqueId​(org.tio.core.ChannelContext context,
                           String clientId,
                           String userName,
                           String password)
        获取 mqtt 唯一id,用来绑定 mqtt 内的 session 等功能
        Parameters:
        context - ChannelContext
        clientId - clientId
        userName - userName
        password - password
        Returns:
        uniqueId