点击或拖拽改变大小

MqttClientMqttMessageReceiveDelegate 委托

当接收到Mqtt订阅的信息的时候触发
Triggered when receiving Mqtt subscription information

命名空间:  HslCommunication.MQTT
程序集:  HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法
public delegate void MqttMessageReceiveDelegate(
	MqttClient client,
	MqttApplicationMessage message
)

参数

client
类型:HslCommunication.MQTTMqttClient
收到消息时候的client实例对象
message
类型:HslCommunication.MQTTMqttApplicationMessage
Mqtt的消息对象
参见