| Package | Description |
|---|---|
| software.amazon.awssdk.crt.mqtt |
| Modifier and Type | Method and Description |
|---|---|
static QualityOfService |
QualityOfService.getEnumValueFromInteger(int value) |
QualityOfService |
MqttMessage.getQos()
Gets the
QualityOfService. |
QualityOfService |
MqttConnectionConfig.getWillQos()
Deprecated.
Query QoS directly from the will's
MqttMessage. |
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)
Deprecated.
|
void |
MqttConnectionConfig.setWillQos(QualityOfService qos)
Deprecated.
Set QoS directly on the will's
MqttMessage. |
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
|
| Constructor and Description |
|---|
MqttMessage(String topic,
byte[] payload,
QualityOfService qos)
Constructs a new message.
|
MqttMessage(String topic,
byte[] payload,
QualityOfService qos,
boolean retain)
Constructs a new message.
|
MqttMessage(String topic,
byte[] payload,
QualityOfService qos,
boolean retain,
boolean dup)
Constructs a new message.
|
Copyright © 2021. All rights reserved.