MqttHelperReceiveMqttRemainingLength 方法 (CommunicationPipe) |
基于MQTT协议,从网络套接字中接收剩余的数据长度
Receives the remaining data length from the network socket based on the MQTT protocol
命名空间:
HslCommunication.MQTT
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public static OperateResult<int> ReceiveMqttRemainingLength(
CommunicationPipe pipe
)
Public Shared Function ReceiveMqttRemainingLength (
pipe As CommunicationPipe
) As OperateResult(Of Integer)
public:
static OperateResult<int>^ ReceiveMqttRemainingLength(
CommunicationPipe^ pipe
)
static member ReceiveMqttRemainingLength :
pipe : CommunicationPipe -> OperateResult<int>
参数
- pipe
- 类型:HslCommunication.Core.PipeCommunicationPipe
实际的管道对象信息
返回值
类型:
OperateResultInt32网络中剩余的长度数据
参见