![]() |
Open Lighting Architecture 0.10.9
|
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. | |
|
inlinevirtual |
Calculate the backoff time.
| failed_attempts | is the number of unsuccessful connection attempts since the last successful connection. |
Implements ola::BackOffPolicy.