AWS IoT Device SDK C++ v2  1.34.0
AWS IoT Device SDK C++ v2
Public Attributes | List of all members
Aws::Crt::Mqtt5::ReconnectOptions Struct Reference

#include <Mqtt5Client.h>

Public Attributes

ExponentialBackoffJitterMode m_reconnectMode
 
uint64_t m_minReconnectDelayMs
 
uint64_t m_maxReconnectDelayMs
 
uint64_t m_minConnectedTimeToResetReconnectDelayMs
 

Member Data Documentation

◆ m_maxReconnectDelayMs

uint64_t Aws::Crt::Mqtt5::ReconnectOptions::m_maxReconnectDelayMs

Maximum amount of time to wait to reconnect after a disconnect. Exponential backoff is performed with jitter after each connection failure.

◆ m_minConnectedTimeToResetReconnectDelayMs

uint64_t Aws::Crt::Mqtt5::ReconnectOptions::m_minConnectedTimeToResetReconnectDelayMs

Amount of time that must elapse with an established connection before the reconnect delay is reset to the minimum. This helps alleviate bandwidth-waste in fast reconnect cycles due to permission failures on operations.

◆ m_minReconnectDelayMs

uint64_t Aws::Crt::Mqtt5::ReconnectOptions::m_minReconnectDelayMs

Minimum amount of time to wait to reconnect after a disconnect. Exponential backoff is performed with jitter after each connection failure.

◆ m_reconnectMode

ExponentialBackoffJitterMode Aws::Crt::Mqtt5::ReconnectOptions::m_reconnectMode

Controls how the reconnect delay is modified in order to smooth out the distribution of reconnection attempt timepoints for a large set of reconnecting clients.


The documentation for this struct was generated from the following file: