OnixS BME SENAF Handler C++ library 2.3.0
API documentation
Loading...
Searching...
No Matches
ConnectionRetries Struct Reference

Public Member Functions

 ConnectionRetries ()
 ConnectionRetries (int inNumber, unsigned inInterval)
std::string toString () const

Public Attributes

int number
unsigned int interval

Detailed Description

Definition at line 36 of file HandlerSettings.h.

Constructor & Destructor Documentation

◆ ConnectionRetries() [1/2]

ConnectionRetries ( )
inline

Default constructor.

Definition at line 39 of file HandlerSettings.h.

◆ ConnectionRetries() [2/2]

ConnectionRetries ( int inNumber,
unsigned inInterval )
inline

Constructor.

Definition at line 46 of file HandlerSettings.h.

Member Function Documentation

◆ toString()

std::string toString ( ) const

Returns the string representation.

Member Data Documentation

◆ interval

unsigned int interval

The time interval between the attempts to restore the telecommunication link (in seconds).

Note
The default value is 0 (zero).

Definition at line 62 of file HandlerSettings.h.

◆ number

int number

Number of attempts to restore the telecommunication link. -1 - unlimited 0 - never (default) >0 - the number of attempts

Definition at line 56 of file HandlerSettings.h.