| Package | Description |
|---|---|
| software.amazon.awssdk.crt.mqtt |
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<Integer> |
MqttClientConnection.publish(MqttMessage message,
QualityOfService qos,
boolean retain)
Publishes a message to a topic
|
void |
MqttClientConnection.setWill(MqttMessage message,
QualityOfService qos,
boolean retain)
Sets the last will and testament message to be delivered to a topic when this client disconnects
|
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<Integer> |
MqttClientConnection.subscribe(String topic,
QualityOfService qos,
java.util.function.Consumer<MqttMessage> handler)
Subscribes to a topic
|
Copyright © 2019. All rights reserved.