public interface MqttPahoClientFactory
Modifier and Type | Method and Description |
---|---|
org.eclipse.paho.client.mqttv3.MqttAsyncClient |
getAsyncClientInstance(String url,
String clientId)
Retrieve an async client instance.
|
org.eclipse.paho.client.mqttv3.MqttClient |
getClientInstance(String url,
String clientId)
Retrieve a client instance.
|
org.eclipse.paho.client.mqttv3.MqttConnectOptions |
getConnectionOptions()
Retrieve the connection options.
|
org.eclipse.paho.client.mqttv3.MqttClient getClientInstance(String url, String clientId) throws org.eclipse.paho.client.mqttv3.MqttException
url
- The URL.clientId
- The client id.org.eclipse.paho.client.mqttv3.MqttException
- Any.org.eclipse.paho.client.mqttv3.MqttAsyncClient getAsyncClientInstance(String url, String clientId) throws org.eclipse.paho.client.mqttv3.MqttException
url
- The URL.clientId
- The client id.org.eclipse.paho.client.mqttv3.MqttException
- Any.org.eclipse.paho.client.mqttv3.MqttConnectOptions getConnectionOptions()