85 M2MTimerPimpl *_private_impl;
86 friend class Test_M2MTimerImpl_linux;
Definition: m2mtimer.h:28
Type
Definition: m2mtimerobserver.h:30
void stop_timer()
Stops the timer. This cancels the ongoing timer.
header for M2MTimerObserver.
bool is_total_interval_passed()
Checks if the total interval has passed.
Definition: m2mtimerobserver.h:23
void start_timer(uint64_t interval, M2MTimerObserver::Type type, bool single_shot=true)
Starts the timer.
bool is_intermediate_interval_passed()
Checks if the intermediate interval has passed.
void start_dtls_timer(uint64_t intermediate_interval, uint64_t total_interval, M2MTimerObserver::Type type=M2MTimerObserver::Dtls)
Starts the timer in DTLS manner.