MqttSession 方法 |
MqttSession 类型公开以下成员。
名称 | 说明 | |
---|---|---|
![]() | AddSubscribe(String) |
当前的会话信息新增一个订阅的主题信息 The current session information adds a subscribed topic information |
![]() | AddSubscribe(String) |
当前的会话信息新增多个订阅的主题信息 The current session information adds multiple subscribed topic information |
![]() | Equals | Determines whether the specified object is equal to the current object. (继承自 Object。) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (继承自 Object。) |
![]() | GetHashCode | Serves as the default hash function. (继承自 Object。) |
![]() | GetSessionInfo |
获取当前会话的基本信息 Obtain basic information about the current session |
![]() | GetSessionOnlineInfo |
获取当前的会话信息,包含在线时间的信息 Get current session information, including online time information |
![]() | GetTopics |
获取当前客户端订阅的所有的Topic信息 Get all Topic information subscribed by the current client |
![]() | GetType | Gets the Type of the current instance. (继承自 Object。) |
![]() | IsClientSubscribe |
检查当前的会话对象里是否订阅了指定的主题内容 Check whether the specified topic content is subscribed in the current session object |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (继承自 Object。) |
![]() | RemoveSubscribe(String) |
移除会话信息的一个订阅的主题
|
![]() | RemoveSubscribe(String) |
移除会话信息的一个订阅的主题 Remove a subscribed topic from session information |
![]() | ToString | Returns a string that represents the current object. (重写 ObjectToString.) |
名称 | 说明 | |
---|---|---|
![]() | ToJsonString |
获取当前对象的JSON格式表示的字符串。 (由 HslExtension 定义。)Gets the string represented by the JSON format of the current object. |