MqttHelperCheckConnectBack 方法 |
根据服务器返回的信息判断当前的连接是否是可用的
According to the information returned by the server to determine whether the current connection is available
命名空间:
HslCommunication.MQTT
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public static OperateResult CheckConnectBack(
byte code,
byte[] data
)
Public Shared Function CheckConnectBack (
code As Byte,
data As Byte()
) As OperateResult
public:
static OperateResult^ CheckConnectBack(
unsigned char code,
array<unsigned char>^ data
)
static member CheckConnectBack :
code : byte *
data : byte[] -> OperateResult
参数
- code
- 类型:SystemByte
功能码 - data
- 类型:SystemByte
数据内容
返回值
类型:
OperateResult是否可用的连接
参见