| Package | Description |
|---|---|
| software.amazon.awssdk.crt.mqtt |
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<Boolean> |
MqttClientConnection.connect(String clientId,
String endpoint,
int port,
SocketOptions socketOptions,
boolean cleanSession,
int keepAliveMs,
int pingTimeoutMs)
Connect to the service endpoint and start a session
|
void |
MqttClientConnection.setLogin(String user,
String pass)
Sets the login credentials for the connection.
|
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
|
| Constructor and Description |
|---|
MqttClientConnection(MqttClient mqttClient)
Constructs a new MqttClientConnection.
|
MqttClientConnection(MqttClient mqttClient,
MqttClientConnectionEvents callbacks)
Constructs a new MqttClientConnection.
|
Copyright © 2019. All rights reserved.