Class MqttConnectionFactory
java.lang.Object
org.wso2.carbon.inbound.endpoint.protocol.mqtt.MqttConnectionFactory
MQTT factory, return instances of asynchronous clients
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.paho.client.mqttv3.MqttAsyncClientgetMqttAsyncClient(String name) getName()intprotected SSLSocketFactorygetSocketFactory(String keyStoreLocation, String keyStoreType, String keyStorePassword, String trustStoreLocation, String trustStoreType, String trustStorePassword, String sslVersion) getTopic()voidshutdown(boolean isClientConnected) protected voidvalidatePortField(String port)
-
Constructor Details
-
MqttConnectionFactory
-
-
Method Details
-
getName
-
getMqttAsyncClient
-
getTopic
-
getContent
-
getServerHost
-
getServerPort
-
getSSLSocketFactory
-
getReconnectionInterval
public int getReconnectionInterval() -
validatePortField
-
shutdown
public void shutdown(boolean isClientConnected) -
getSocketFactory
protected SSLSocketFactory getSocketFactory(String keyStoreLocation, String keyStoreType, String keyStorePassword, String trustStoreLocation, String trustStoreType, String trustStorePassword, String sslVersion) throws Exception - Throws:
Exception
-