MqttHelperReceiveMqttRemainingLengthAsync 方法 (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 Task<OperateResult<int>> ReceiveMqttRemainingLengthAsync(
CommunicationPipe pipe
)
Public Shared Function ReceiveMqttRemainingLengthAsync (
pipe As CommunicationPipe
) As Task(Of OperateResult(Of Integer))
public:
static Task<OperateResult<int>^>^ ReceiveMqttRemainingLengthAsync(
CommunicationPipe^ pipe
)
static member ReceiveMqttRemainingLengthAsync :
pipe : CommunicationPipe -> Task<OperateResult<int>>
参数
- pipe
- 类型:HslCommunication.Core.PipeCommunicationPipe
实际的管道对象信息
返回值
类型:
TaskOperateResultInt32网络中剩余的长度数据
参见