Class AWSIotConfig
- java.lang.Object
-
- com.amazonaws.services.iot.client.AWSIotConfig
-
public class AWSIotConfig extends Object
The class provides default values for the library. All the values defined here can be overridden at runtime through setter functions inAWSIotMqttClientandAWSIotDevice.
-
-
Field Summary
Fields Modifier and Type Field Description static booleanCLEAN_SESSIONThe default value for clean session connections.static intCONNECTION_BASE_RETRY_DELAYThe default value for connection base retry delay (milliseconds).static intCONNECTION_MAX_RETRY_DELAYThe default value for connection maximum retry delay (milliseconds).static intCONNECTION_TIMEOUTThe default value for client connection timeout (milliseconds).static booleanDEVICE_ENABLE_VERSIONINGThe default value for enabling device update versioning.static intDEVICE_METHOD_ACK_QOSThe default value for the QoS level for subscribing to shadow method acknowledgement.static intDEVICE_METHOD_QOSThe default value for the QoS level for publishing shadow methods.static intDEVICE_REPORT_INTERVALThe default value for device reporting interval (milliseconds).static intDEVICE_REPORT_QOSThe default value for device reporting QoS level.static intDEVICE_SHADOW_UPDATE_QOSThe default value for the QoS level for subscribing to shadow updates.static intKEEP_ALIVE_INTERVALThe default value for client keep-alive interval (milliseconds).static intMAX_CONNECTION_RETRIESThe default value for maximum connection retry times.static intMAX_OFFLINE_QUEUE_SIZEThe default value for maximum offline queue size.static intNUM_OF_CLIENT_THREADSThe default value for number of client threads.static intSERVER_ACK_TIMEOUTThe default value for service acknowledge timeout (milliseconds).
-
Constructor Summary
Constructors Constructor Description AWSIotConfig()
-
-
-
Field Detail
-
NUM_OF_CLIENT_THREADS
public static final int NUM_OF_CLIENT_THREADS
The default value for number of client threads. See alsoAWSIotMqttClient.getNumOfClientThreads().- See Also:
- Constant Field Values
-
CONNECTION_TIMEOUT
public static final int CONNECTION_TIMEOUT
The default value for client connection timeout (milliseconds). See alsoAWSIotMqttClient.getConnectionTimeout().- See Also:
- Constant Field Values
-
SERVER_ACK_TIMEOUT
public static final int SERVER_ACK_TIMEOUT
The default value for service acknowledge timeout (milliseconds). See alsoAWSIotMqttClient.getServerAckTimeout().- See Also:
- Constant Field Values
-
KEEP_ALIVE_INTERVAL
public static final int KEEP_ALIVE_INTERVAL
The default value for client keep-alive interval (milliseconds). See alsoAWSIotMqttClient.getKeepAliveInterval().- See Also:
- Constant Field Values
-
MAX_CONNECTION_RETRIES
public static final int MAX_CONNECTION_RETRIES
The default value for maximum connection retry times. See alsoAWSIotMqttClient.getMaxConnectionRetries().- See Also:
- Constant Field Values
-
CONNECTION_BASE_RETRY_DELAY
public static final int CONNECTION_BASE_RETRY_DELAY
The default value for connection base retry delay (milliseconds). See alsoAWSIotMqttClient.getBaseRetryDelay().- See Also:
- Constant Field Values
-
CONNECTION_MAX_RETRY_DELAY
public static final int CONNECTION_MAX_RETRY_DELAY
The default value for connection maximum retry delay (milliseconds). See alsoAWSIotMqttClient.getMaxRetryDelay().- See Also:
- Constant Field Values
-
CLEAN_SESSION
public static final boolean CLEAN_SESSION
The default value for clean session connections. See alsoAWSIotMqttClient.isCleanSession().- See Also:
- Constant Field Values
-
MAX_OFFLINE_QUEUE_SIZE
public static final int MAX_OFFLINE_QUEUE_SIZE
The default value for maximum offline queue size. See alsoAWSIotMqttClient.getMaxOfflineQueueSize().- See Also:
- Constant Field Values
-
DEVICE_REPORT_INTERVAL
public static final int DEVICE_REPORT_INTERVAL
The default value for device reporting interval (milliseconds). See alsoAWSIotDevice.getReportInterval().- See Also:
- Constant Field Values
-
DEVICE_ENABLE_VERSIONING
public static final boolean DEVICE_ENABLE_VERSIONING
The default value for enabling device update versioning. See alsoAWSIotDevice.isEnableVersioning().- See Also:
- Constant Field Values
-
DEVICE_REPORT_QOS
public static final int DEVICE_REPORT_QOS
The default value for device reporting QoS level. See alsoAWSIotDevice.getDeviceReportQos().- See Also:
- Constant Field Values
-
DEVICE_SHADOW_UPDATE_QOS
public static final int DEVICE_SHADOW_UPDATE_QOS
The default value for the QoS level for subscribing to shadow updates. See alsoAWSIotDevice.getShadowUpdateQos().- See Also:
- Constant Field Values
-
DEVICE_METHOD_QOS
public static final int DEVICE_METHOD_QOS
The default value for the QoS level for publishing shadow methods. See alsoAWSIotDevice.getMethodQos().- See Also:
- Constant Field Values
-
DEVICE_METHOD_ACK_QOS
public static final int DEVICE_METHOD_ACK_QOS
The default value for the QoS level for subscribing to shadow method acknowledgement. See alsoAWSIotDevice.getMethodAckQos().- See Also:
- Constant Field Values
-
-