IMqttSyncConnector 类 |
命名空间: HslCommunication.MQTT
IMqttSyncConnector 类型公开以下成员。
名称 | 说明 | |
---|---|---|
IMqttSyncConnector |
实例化一个默认的对象 Instantiate a default object | |
IMqttSyncConnector(MqttConnectionOptions) |
根据连接的MQTT参数,实例化一个默认的对象 According to the connected MQTT parameters, instantiate a default object |
名称 | 说明 | |
---|---|---|
GuidToken |
唯一的GUID码
| |
IsConnectUsing |
指示当前的连接是否在使用用
| |
LastUseTime |
最新一次使用的时间
| |
SyncClient |
MQTT的连接对象
|
名称 | 说明 | |
---|---|---|
Close |
关闭并释放
| |
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。) | |
GetType | Gets the Type of the current instance. (继承自 Object。) | |
MemberwiseClone | Creates a shallow copy of the current Object. (继承自 Object。) | |
Open |
打开连接
| |
ToString | Returns a string that represents the current object. (继承自 Object。) |
名称 | 说明 | |
---|---|---|
ToJsonString |
获取当前对象的JSON格式表示的字符串。 (由 HslExtension 定义。)Gets the string represented by the JSON format of the current object. |