MqttSubscribeMessageQualityOfServiceLevel 属性 |
这个字段表示应用消息分发的服务质量等级保证。分为,最多一次,最少一次,正好一次
This field indicates the quality of service guarantee for application message distribution. Divided into, at most once, at least once, exactly once
命名空间:
HslCommunication.MQTT
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public MqttQualityOfServiceLevel QualityOfServiceLevel { get; set; }
Public Property QualityOfServiceLevel As MqttQualityOfServiceLevel
Get
Set
public:
property MqttQualityOfServiceLevel QualityOfServiceLevel {
MqttQualityOfServiceLevel get ();
void set (MqttQualityOfServiceLevel value);
}
member QualityOfServiceLevel : MqttQualityOfServiceLevel with get, set
属性值
类型:
MqttQualityOfServiceLevel备注
在实际的开发中的情况下,最多一次是最省性能的,正好一次是最消耗性能的,如果应有场景为推送实时的数据,那么,最多一次的性能是最高的
参见