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, unsubscribeTopic
connect, disconnect, getClient, getConnectCallback, getConnectionStatus, getPublishQueue, getRetryTask, getRetryTimes, getSubscribeQueue, getUnsubscribeQueue, isUserDisconnect, onConnectionClosed, onConnectionFailure, onConnectionSuccess, publish, setConnectionStatus, subscribe, unsubscribe, updateCredentials
public AwsIotTlsConnection(AbstractAwsIotClient client, KeyStore keyStore, String keyPassword) throws AWSIotException
AWSIotException
public AwsIotTlsConnection(AbstractAwsIotClient client, SSLSocketFactory socketFactory) throws AWSIotException
AWSIotException
Copyright © 2020. All rights reserved.