MqttMessaging 类

定义

public class MqttMessaging extends Mqtt
继承
java.lang.Object
MqttCallback
MqttMessaging

继承成员

构造函数

MqttMessaging(MqttConnection mqttConnection, String deviceId, IotHubListener listener, MqttMessageListener messageListener, String connectionId, String moduleId, boolean isEdgeHub, Map<Integer, Message> unacknowledgedSentMessages)

方法

send(Message message)

Sends the provided telemetry message over the mqtt connection

start()
stop()

适用于