Package | Description |
---|---|
org.eclipse.paho.client.mqttv3 |
Contains a programming interface enabling applications to communicate with an MQTT server.
|
org.eclipse.paho.client.mqttv3.internal | |
org.eclipse.paho.client.mqttv3.persist |
Contains implementations of the MqttClientPersistence interface.
|
Constructor and Description |
---|
MqttAsyncClient(java.lang.String serverURI,
java.lang.String clientId,
MqttClientPersistence persistence) |
MqttAsyncClient(java.lang.String serverURI,
java.lang.String clientId,
MqttClientPersistence persistence,
MqttPingSender pingSender)
Create an MqttAsyncClient that is used to communicate with an MQTT server.
|
MqttClient(java.lang.String serverURI,
java.lang.String clientId,
MqttClientPersistence persistence)
Create an MqttClient that can be used to communicate with an MQTT server.
|
Constructor and Description |
---|
ClientComms(IMqttAsyncClient client,
MqttClientPersistence persistence,
MqttPingSender pingSender)
Creates a new ClientComms object, using the specified module to handle
the network calls.
|
ConnectActionListener(MqttAsyncClient client,
MqttClientPersistence persistence,
ClientComms comms,
MqttConnectOptions options,
MqttToken userToken,
java.lang.Object userContext,
IMqttActionListener userCallback,
boolean reconnect) |
Modifier and Type | Class and Description |
---|---|
class |
MemoryPersistence
Persistence that uses memory
In cases where reliability is not required across client or device
restarts memory this memory peristence can be used.
|
class |
MqttDefaultFilePersistence
An implementation of the
MqttClientPersistence interface that provides
file based persistence. |