![]() |
Open Lighting Architecture
Latest Git
|
A backoff policy will calculate how long to wait before retrying an event given the number of previous failed attempts.

Public Member Functions | |
| virtual TimeInterval | BackOffTime (unsigned int failed_attempts) const =0 |
| Calculate the backoff time. More... | |
|
pure virtual |
Calculate the backoff time.
| failed_attempts | is the number of unsuccessful connection attempts since the last successful connection. |
Implemented in ola::ExponentialBackoffPolicy, ola::LinearBackoffPolicy, and ola::ConstantBackoffPolicy.
1.8.13