Class AWSIotConfig
java.lang.Object
com.amazonaws.services.iot.client.AWSIotConfig
The class provides default values for the library. All the values defined
here can be overridden at runtime through setter functions in
AWSIotMqttClient and AWSIotDevice.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final booleanThe default value for clean session connections.static final intThe default value for connection base retry delay (milliseconds).static final intThe default value for connection maximum retry delay (milliseconds).static final intThe default value for client connection timeout (milliseconds).static final booleanThe default value for enabling device update versioning.static final intThe default value for the QoS level for subscribing to shadow method acknowledgement.static final intThe default value for the QoS level for publishing shadow methods.static final intThe default value for device reporting interval (milliseconds).static final intThe default value for device reporting QoS level.static final intThe default value for the QoS level for subscribing to shadow updates.static final intThe default value for client keep-alive interval (milliseconds).static final intThe default value for maximum connection retry times.static final intThe default value for maximum offline queue size.static final intThe default value for number of client threads.static final intThe default value for service acknowledge timeout (milliseconds). -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
NUM_OF_CLIENT_THREADS
public static final int NUM_OF_CLIENT_THREADSThe default value for number of client threads. See alsoAWSIotMqttClient.getNumOfClientThreads().- See Also:
-
CONNECTION_TIMEOUT
public static final int CONNECTION_TIMEOUTThe default value for client connection timeout (milliseconds). See alsoAWSIotMqttClient.getConnectionTimeout().- See Also:
-
SERVER_ACK_TIMEOUT
public static final int SERVER_ACK_TIMEOUTThe default value for service acknowledge timeout (milliseconds). See alsoAWSIotMqttClient.getServerAckTimeout().- See Also:
-
KEEP_ALIVE_INTERVAL
public static final int KEEP_ALIVE_INTERVALThe default value for client keep-alive interval (milliseconds). See alsoAWSIotMqttClient.getKeepAliveInterval().- See Also:
-
MAX_CONNECTION_RETRIES
public static final int MAX_CONNECTION_RETRIESThe default value for maximum connection retry times. See alsoAWSIotMqttClient.getMaxConnectionRetries().- See Also:
-
CONNECTION_BASE_RETRY_DELAY
public static final int CONNECTION_BASE_RETRY_DELAYThe default value for connection base retry delay (milliseconds). See alsoAWSIotMqttClient.getBaseRetryDelay().- See Also:
-
CONNECTION_MAX_RETRY_DELAY
public static final int CONNECTION_MAX_RETRY_DELAYThe default value for connection maximum retry delay (milliseconds). See alsoAWSIotMqttClient.getMaxRetryDelay().- See Also:
-
CLEAN_SESSION
public static final boolean CLEAN_SESSIONThe default value for clean session connections. See alsoAWSIotMqttClient.isCleanSession().- See Also:
-
MAX_OFFLINE_QUEUE_SIZE
public static final int MAX_OFFLINE_QUEUE_SIZEThe default value for maximum offline queue size. See alsoAWSIotMqttClient.getMaxOfflineQueueSize().- See Also:
-
DEVICE_REPORT_INTERVAL
public static final int DEVICE_REPORT_INTERVALThe default value for device reporting interval (milliseconds). See alsoAWSIotDevice.getReportInterval().- See Also:
-
DEVICE_ENABLE_VERSIONING
public static final boolean DEVICE_ENABLE_VERSIONINGThe default value for enabling device update versioning. See alsoAWSIotDevice.isEnableVersioning().- See Also:
-
DEVICE_REPORT_QOS
public static final int DEVICE_REPORT_QOSThe default value for device reporting QoS level. See alsoAWSIotDevice.getDeviceReportQos().- See Also:
-
DEVICE_SHADOW_UPDATE_QOS
public static final int DEVICE_SHADOW_UPDATE_QOSThe default value for the QoS level for subscribing to shadow updates. See alsoAWSIotDevice.getShadowUpdateQos().- See Also:
-
DEVICE_METHOD_QOS
public static final int DEVICE_METHOD_QOSThe default value for the QoS level for publishing shadow methods. See alsoAWSIotDevice.getMethodQos().- See Also:
-
DEVICE_METHOD_ACK_QOS
public static final int DEVICE_METHOD_ACK_QOSThe default value for the QoS level for subscribing to shadow method acknowledgement. See alsoAWSIotDevice.getMethodAckQos().- See Also:
-
-
Constructor Details
-
AWSIotConfig
public AWSIotConfig()
-