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
public class AwsIotTlsConnection extends AwsIotMqttConnection
This is a thin layer on top ofAwsIotMqttConnectionthat 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
Constructors Constructor Description AwsIotTlsConnection(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, unsubscribeTopic
-
Methods 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 Detail
-
AwsIotTlsConnection
public AwsIotTlsConnection(AbstractAwsIotClient client, KeyStore keyStore, String keyPassword) throws AWSIotException
- Throws:
AWSIotException
-
AwsIotTlsConnection
public AwsIotTlsConnection(AbstractAwsIotClient client, SSLSocketFactory socketFactory) throws AWSIotException
- Throws:
AWSIotException
-
-