-
Method Summary
| Modifier and Type |
Method |
Description |
org.eclipse.paho.client.mqttv3.IMqttAsyncClient |
getAsyncClientInstance(java.lang.String url,
java.lang.String clientId) |
Retrieve an async client instance.
|
org.eclipse.paho.client.mqttv3.IMqttClient |
getClientInstance(java.lang.String url,
java.lang.String clientId) |
Retrieve a client instance.
|
org.eclipse.paho.client.mqttv3.MqttConnectOptions |
getConnectionOptions() |
Retrieve the connection options.
|
ConsumerStopAction |
getConsumerStopAction() |
Get the consumer stop action.
|
-
Method Details
-
org.eclipse.paho.client.mqttv3.IMqttClient getClientInstance(java.lang.String url,
java.lang.String clientId)
throws org.eclipse.paho.client.mqttv3.MqttException
Retrieve a client instance.
- Parameters:
url - The URL.
clientId - The client id.
- Returns:
- The client instance.
- Throws:
org.eclipse.paho.client.mqttv3.MqttException - Any.
-
org.eclipse.paho.client.mqttv3.IMqttAsyncClient getAsyncClientInstance(java.lang.String url,
java.lang.String clientId)
throws org.eclipse.paho.client.mqttv3.MqttException
Retrieve an async client instance.
- Parameters:
url - The URL.
clientId - The client id.
- Returns:
- The client instance.
- Throws:
org.eclipse.paho.client.mqttv3.MqttException - Any.
- Since:
- 4.1
-
org.eclipse.paho.client.mqttv3.MqttConnectOptions getConnectionOptions()
Retrieve the connection options.
- Returns:
- The options.
-
Get the consumer stop action.
- Returns:
- the consumer stop action.
- Since:
- 4.3