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 |
Modifier and Type | Method and Description |
---|---|
void |
MqttClient.connect(MqttConnectOptions options) |
void |
IMqttClient.connect(MqttConnectOptions options)
Connects to an MQTT server using the specified options.
|
IMqttToken |
MqttAsyncClient.connect(MqttConnectOptions options) |
IMqttToken |
IMqttAsyncClient.connect(MqttConnectOptions options)
Connects to an MQTT server using the provided connect options.
|
IMqttToken |
MqttAsyncClient.connect(MqttConnectOptions options,
java.lang.Object userContext,
IMqttActionListener callback) |
IMqttToken |
IMqttAsyncClient.connect(MqttConnectOptions options,
java.lang.Object userContext,
IMqttActionListener callback)
Connects to an MQTT server using the specified options.
|
IMqttToken |
MqttClient.connectWithResult(MqttConnectOptions options) |
IMqttToken |
IMqttClient.connectWithResult(MqttConnectOptions options)
Connects to an MQTT server using the specified options.
|
Modifier and Type | Method and Description |
---|---|
MqttConnectOptions |
ClientComms.getConOptions() |
Modifier and Type | Method and Description |
---|---|
void |
ClientComms.connect(MqttConnectOptions options,
MqttToken token)
Sends a connect message and waits for an ACK or NACK.
|
Constructor and Description |
---|
ConnectActionListener(MqttAsyncClient client,
MqttClientPersistence persistence,
ClientComms comms,
MqttConnectOptions options,
MqttToken userToken,
java.lang.Object userContext,
IMqttActionListener userCallback,
boolean reconnect) |