MqttSyncClientReadSessions 方法 |
读取服务器里当前的会话信息
命名空间:
HslCommunication.MQTT
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public OperateResult<MqttSessionInfo[]> ReadSessions()
Public Function ReadSessions As OperateResult(Of MqttSessionInfo())
public:
OperateResult<array<MqttSessionInfo^>^>^ ReadSessions()
member ReadSessions : unit -> OperateResult<MqttSessionInfo[]>
返回值
类型:
OperateResultMqttSessionInfo会话信息
参见