rodbus (.NET API) 1.3.1
Loading...
Searching...
No Matches
rodbus.RetryStrategy Class Reference

Retry strategy configuration. More...

Public Member Functions

RetryStrategy WithMinDelay (TimeSpan value)
 Minimum delay between two retries More...
 
RetryStrategy WithMaxDelay (TimeSpan value)
 Maximum delay between two retries More...
 
 RetryStrategy ()
 Initialize a retry strategy to defaults More...
 

Public Attributes

TimeSpan MinDelay
 Minimum delay between two retries More...
 
TimeSpan MaxDelay
 Maximum delay between two retries More...
 

Detailed Description

Retry strategy configuration.

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

Constructor & Destructor Documentation

◆ RetryStrategy()

rodbus.RetryStrategy.RetryStrategy ( )
inline

Initialize a retry strategy to defaults

Default values:

Member Function Documentation

◆ WithMaxDelay()

RetryStrategy rodbus.RetryStrategy.WithMaxDelay ( TimeSpan  value)
inline

Maximum delay between two retries

◆ WithMinDelay()

RetryStrategy rodbus.RetryStrategy.WithMinDelay ( TimeSpan  value)
inline

Minimum delay between two retries

Member Data Documentation

◆ MaxDelay

TimeSpan rodbus.RetryStrategy.MaxDelay

Maximum delay between two retries

◆ MinDelay

TimeSpan rodbus.RetryStrategy.MinDelay

Minimum delay between two retries


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