dnp3 (C++ API) 1.1.0
|
Retry strategy configuration. More...
#include <dnp3.hpp>
Public Member Functions | |
RetryStrategy () | |
Initialize to defaults. More... | |
Public Attributes | |
std::chrono::steady_clock::duration | min_delay |
Minimum delay between two retries. More... | |
std::chrono::steady_clock::duration | max_delay |
Maximum delay between two retries. More... | |
Friends | |
class | CppRetryStrategyFriend |
Retry strategy configuration.
The strategy uses an exponential back-off with a minimum and maximum value.
dnp3::RetryStrategy::RetryStrategy | ( | ) |
Initialize to defaults.
std::chrono::steady_clock::duration dnp3::RetryStrategy::max_delay |
Maximum delay between two retries.
std::chrono::steady_clock::duration dnp3::RetryStrategy::min_delay |
Minimum delay between two retries.