A retry timer.
More...
#include <retry.h>
A retry timer.
Definition at line 22 of file retry.h.
◆ list
◆ running
| unsigned int retry_timer::running |
Timer is currently running.
Definition at line 26 of file retry.h.
◆ timeout
| unsigned long retry_timer::timeout |
◆ min
| unsigned long retry_timer::min |
Minimum timeout value (in ticks), or zero to use default.
The timeout will never be reduced below this value.
Definition at line 33 of file retry.h.
◆ max
| unsigned long retry_timer::max |
Maximum timeout value (in ticks), or zero to use default.
The timeout will be deemed permanent (according to the failure indicator passed to expired()) when it exceeds this value.
Definition at line 40 of file retry.h.
◆ start
| unsigned long retry_timer::start |
Start time (in ticks)
Definition at line 42 of file retry.h.
◆ count
| unsigned int retry_timer::count |
Retry count.
Definition at line 44 of file retry.h.
◆ expired
Timer expired callback.
- Parameters
-
| timer | Retry timer |
| fail | Failure indicator |
The timer will already be stopped when this method is called. The failure indicator will be True if the retry timeout has already exceeded max_timeout.
Definition at line 54 of file retry.h.
◆ refcnt
| struct refcnt* retry_timer::refcnt |
Reference counter.
If this interface is not part of a reference-counted object, this field may be NULL.
Definition at line 60 of file retry.h.
The documentation for this struct was generated from the following file: