dnp3 (C++ API) 1.1.0
dnp3::RetryStrategy Struct Reference

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
 

Detailed Description

Retry strategy configuration.

The strategy uses an exponential back-off with a minimum and maximum value.

Constructor & Destructor Documentation

◆ RetryStrategy()

dnp3::RetryStrategy::RetryStrategy ( )

Initialize to defaults.

Note
Values are initialized to:
Returns
New instance of RetryStrategy

Member Data Documentation

◆ max_delay

std::chrono::steady_clock::duration dnp3::RetryStrategy::max_delay

Maximum delay between two retries.

◆ min_delay

std::chrono::steady_clock::duration dnp3::RetryStrategy::min_delay

Minimum delay between two retries.


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