Open Lighting Architecture
Latest Git
|
Constant time back off policy. For a duration of 1s we'd produce. 1, 1, 1, 1, 1, ...
Public Member Functions | |
ConstantBackoffPolicy (const TimeInterval &duration) | |
TimeInterval | BackOffTime (unsigned int) const |
Calculate the backoff time. More... | |
|
inlinevirtual |
Calculate the backoff time.
failed_attempts | is the number of unsuccessful connection attempts since the last successful connection. |
Implements ola::BackOffPolicy.