opendnp3  3.1.0
Reference implementation of DNP3 (IEEE-1815)
opendnp3::IOpenDelayStrategy Class Referenceabstract

A strategy interface for controlling how connection are retried. More...

#include <opendnp3/channel/IOpenDelayStrategy.h>

Public Member Functions

virtual ~IOpenDelayStrategy ()
 
virtual TimeDuration GetNextDelay (const TimeDuration &current, const TimeDuration &max) const =0
 The the next delay based on the current and the maximum. More...
 

Detailed Description

A strategy interface for controlling how connection are retried.

Definition at line 32 of file IOpenDelayStrategy.h.

Constructor & Destructor Documentation

◆ ~IOpenDelayStrategy()

virtual opendnp3::IOpenDelayStrategy::~IOpenDelayStrategy ( )
inlinevirtual

Definition at line 36 of file IOpenDelayStrategy.h.

Member Function Documentation

◆ GetNextDelay()

virtual TimeDuration opendnp3::IOpenDelayStrategy::GetNextDelay ( const TimeDuration current,
const TimeDuration max 
) const
pure virtual

The the next delay based on the current and the maximum.

Implemented in opendnp3::ExponentialBackoffStrategy.

Referenced by opendnp3::ChannelRetry::NextDelay().


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