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

Timing parameters for connection attempts. More...

#include <dnp3.hpp>

Public Member Functions

 ConnectStrategy ()
 Initialize to default values. More...
 

Public Attributes

std::chrono::steady_clock::duration min_connect_delay
 Minimum delay between two connection attempts, doubles up to the maximum delay. More...
 
std::chrono::steady_clock::duration max_connect_delay
 Maximum delay between two connection attempts. More...
 
std::chrono::steady_clock::duration reconnect_delay
 Delay before attempting a connection after a disconnect. More...
 

Friends

class CppConnectStrategyFriend
 

Detailed Description

Timing parameters for connection attempts.

Constructor & Destructor Documentation

◆ ConnectStrategy()

dnp3::ConnectStrategy::ConnectStrategy ( )

Initialize to default values.

Note
Values are initialized to:
Returns
New instance of ConnectStrategy

Member Data Documentation

◆ max_connect_delay

std::chrono::steady_clock::duration dnp3::ConnectStrategy::max_connect_delay

Maximum delay between two connection attempts.

◆ min_connect_delay

std::chrono::steady_clock::duration dnp3::ConnectStrategy::min_connect_delay

Minimum delay between two connection attempts, doubles up to the maximum delay.

◆ reconnect_delay

std::chrono::steady_clock::duration dnp3::ConnectStrategy::reconnect_delay

Delay before attempting a connection after a disconnect.


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