SubscribeTopic 方法 |
SubscribeTopic 类型公开以下成员。
名称 | 说明 | |
---|---|---|
AddSubscribeTick |
增加一个订阅的计数信息,不需要手动调用,在 MqttClient 订阅主题之后,会自动增加 Add a subscription count information, no need to manually call it, it will be automatically added after MqttClient subscribes to the topic | |
Equals | (继承自 Object。) | |
Finalize | (继承自 Object。) | |
GetHashCode | (继承自 Object。) | |
GetType | (继承自 Object。) | |
MemberwiseClone | (继承自 Object。) | |
RemoveSubscribeTick |
减少一个订阅的计数信息,用户可以手动调用,比如判断是否是最后一次移除,然后决定是否通过 MqttClient 取消订阅主题 Reduce the count information of a subscription, the user can call it manually, such as judging whether it is the last removal, and then decide whether to unsubscribe the topic through MqttClient | |
ToString | (重写 ObjectToString.) | |
TriggerSubscription |
使用指定的参数,触发订阅主题的事件 Using the specified parameters, trigger the event of the subscribed topic |
名称 | 说明 | |
---|---|---|
ToJsonString |
获取当前对象的JSON格式表示的字符串。 (由 HslExtension 定义。)Gets the string represented by the JSON format of the current object. |