public interface MqttPahoClientFactory
Modifier and Type | Method and Description |
---|---|
org.eclipse.paho.client.mqttv3.MqttAsyncClient |
getAsyncClientInstance(java.lang.String url,
java.lang.String clientId)
Retrieve an async client instance.
|
org.eclipse.paho.client.mqttv3.MqttClient |
getClientInstance(java.lang.String url,
java.lang.String clientId)
Retrieve a client instance.
|
org.eclipse.paho.client.mqttv3.MqttConnectOptions |
getConnectionOptions()
Retrieve the connection options.
|
org.eclipse.paho.client.mqttv3.MqttClient getClientInstance(java.lang.String url, java.lang.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(java.lang.String url, java.lang.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()