Uses of Class
software.amazon.awssdk.crt.mqtt.MqttMessage
-
Packages that use MqttMessage Package Description software.amazon.awssdk.crt.mqtt -
-
Uses of MqttMessage in software.amazon.awssdk.crt.mqtt
Methods in software.amazon.awssdk.crt.mqtt that return MqttMessage Modifier and Type Method Description MqttMessage
MqttConnectionConfig. getWillMessage()
Queries the last will and testament message to be delivered to a topic when a connection disconnectsMethods in software.amazon.awssdk.crt.mqtt with parameters of type MqttMessage Modifier and Type Method Description CompletableFuture<Integer>
MqttClientConnection. publish(MqttMessage message)
Publishes a message to a topic.CompletableFuture<Integer>
MqttClientConnection. publish(MqttMessage message, QualityOfService qos, boolean retain)
Deprecated.void
MqttConnectionConfig. setWillMessage(MqttMessage willMessage)
Configures the last will and testament message to be delivered to a topic when a connection disconnectsMethod parameters in software.amazon.awssdk.crt.mqtt with type arguments of type MqttMessage Modifier and Type Method Description void
MqttClientConnection. onMessage(Consumer<MqttMessage> handler)
Sets a handler to be invoked whenever a message arrives, subscription or notCompletableFuture<Integer>
MqttClientConnection. subscribe(String topic, QualityOfService qos, Consumer<MqttMessage> handler)
Subscribes to a topic
-