Class AwsIotTlsConnection
java.lang.Object
com.amazonaws.services.iot.client.core.AwsIotConnection
com.amazonaws.services.iot.client.mqtt.AwsIotMqttConnection
com.amazonaws.services.iot.client.core.AwsIotTlsConnection
- All Implemented Interfaces:
AwsIotConnectionCallback
This is a thin layer on top of
AwsIotMqttConnection that provides a
TLS v1.2 based communication channel to the MQTT implementation.-
Field Summary
Fields inherited from class com.amazonaws.services.iot.client.core.AwsIotConnection
client, connectionStatus -
Constructor Summary
ConstructorsConstructorDescriptionAwsIotTlsConnection(AbstractAwsIotClient client, KeyStore keyStore, String keyPassword) AwsIotTlsConnection(AbstractAwsIotClient client, SSLSocketFactory socketFactory) -
Method Summary
Methods inherited from class com.amazonaws.services.iot.client.mqtt.AwsIotMqttConnection
closeConnection, getClientListener, getMessageListener, getMqttClient, getServerUris, getSocketFactory, openConnection, publishMessage, setClientListener, setMessageListener, setMqttClient, subscribeTopic, unsubscribeTopicMethods inherited from class com.amazonaws.services.iot.client.core.AwsIotConnection
connect, disconnect, getClient, getConnectCallback, getConnectionStatus, getPublishQueue, getRetryTask, getRetryTimes, getSubscribeQueue, getUnsubscribeQueue, isUserDisconnect, onConnectionClosed, onConnectionFailure, onConnectionSuccess, publish, setConnectionStatus, subscribe, unsubscribe, updateCredentials
-
Constructor Details
-
AwsIotTlsConnection
public AwsIotTlsConnection(AbstractAwsIotClient client, KeyStore keyStore, String keyPassword) throws AWSIotException - Throws:
AWSIotException
-
AwsIotTlsConnection
public AwsIotTlsConnection(AbstractAwsIotClient client, SSLSocketFactory socketFactory) throws AWSIotException - Throws:
AWSIotException
-