Open Lighting Architecture
0.9.4
|
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 unsuccessfull connection attempts since the last successful connection. |
Implements ola::BackOffPolicy.