| Package | Description |
|---|---|
| software.amazon.awssdk.crt.mqtt |
| Modifier and Type | Method and Description |
|---|---|
QualityOfService |
MqttConnectionConfig.getWillQos()
Queries the quality of service for the will message's publish action
|
static QualityOfService |
QualityOfService.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static QualityOfService[] |
QualityOfService.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<Integer> |
MqttClientConnection.publish(MqttMessage message,
QualityOfService qos,
boolean retain)
Publishes a message to a topic
|
void |
MqttConnectionConfig.setWillQos(QualityOfService qos)
Configures the quality of service for the will message's publish action
|
CompletableFuture<Integer> |
MqttClientConnection.subscribe(String topic,
QualityOfService qos)
Subscribes to a topic without a handler (messages will only be delivered to
the OnMessage handler)
|
CompletableFuture<Integer> |
MqttClientConnection.subscribe(String topic,
QualityOfService qos,
java.util.function.Consumer<MqttMessage> handler)
Subscribes to a topic
|
Copyright © 2020. All rights reserved.