public class AwsIotTlsConnection extends AwsIotMqttConnection
AwsIotMqttConnection that provides a
TLS v1.2 based communication channel to the MQTT implementation.client, connectionStatus| Constructor and Description |
|---|
AwsIotTlsConnection(AbstractAwsIotClient client,
KeyStore keyStore,
String keyPassword) |
AwsIotTlsConnection(AbstractAwsIotClient client,
SSLSocketFactory socketFactory) |
closeConnection, getClientListener, getMessageListener, getMqttClient, getServerUris, getSocketFactory, openConnection, publishMessage, setClientListener, setMessageListener, setMqttClient, subscribeTopic, unsubscribeTopicconnect, disconnect, getClient, getConnectCallback, getConnectionStatus, getPublishQueue, getRetryTask, getRetryTimes, getSubscribeQueue, getUnsubscribeQueue, isUserDisconnect, onConnectionClosed, onConnectionFailure, onConnectionSuccess, publish, setConnectionStatus, subscribe, unsubscribe, updateCredentialspublic AwsIotTlsConnection(AbstractAwsIotClient client, KeyStore keyStore, String keyPassword) throws AWSIotException
AWSIotExceptionpublic AwsIotTlsConnection(AbstractAwsIotClient client, SSLSocketFactory socketFactory) throws AWSIotException
AWSIotExceptionCopyright © 2020. All rights reserved.