opendnp3  3.1.0
Reference implementation of DNP3 (IEEE-1815)
opendnp3::NumRetries Class Referencefinal

Unsolicited response number of retries. More...

#include <opendnp3/outstation/NumRetries.h>

Public Member Functions

void Reset ()
 
bool Retry ()
 

Static Public Member Functions

static NumRetries Fixed (std::size_t maxNumRetries)
 
static NumRetries Infinite ()
 

Private Member Functions

 NumRetries (std::size_t maxNumRetries, bool isInfinite)
 

Private Attributes

bool isInfinite
 
std::size_t maxNumRetries
 
std::size_t numRetries
 

Detailed Description

Unsolicited response number of retries.

Definition at line 31 of file NumRetries.h.

Constructor & Destructor Documentation

◆ NumRetries()

opendnp3::NumRetries::NumRetries ( std::size_t  maxNumRetries,
bool  isInfinite 
)
private

Member Function Documentation

◆ Fixed()

static NumRetries opendnp3::NumRetries::Fixed ( std::size_t  maxNumRetries)
static

◆ Infinite()

static NumRetries opendnp3::NumRetries::Infinite ( )
static

◆ Reset()

void opendnp3::NumRetries::Reset ( )

◆ Retry()

bool opendnp3::NumRetries::Retry ( )

Member Data Documentation

◆ isInfinite

bool opendnp3::NumRetries::isInfinite
private

Definition at line 45 of file NumRetries.h.

◆ maxNumRetries

std::size_t opendnp3::NumRetries::maxNumRetries
private

Definition at line 44 of file NumRetries.h.

◆ numRetries

std::size_t opendnp3::NumRetries::numRetries
private

Definition at line 43 of file NumRetries.h.


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