42 #ifndef INCLUDE_OLA_NETWORK_HEALTHCHECKEDCONNECTION_H_
43 #define INCLUDE_OLA_NETWORK_HEALTHCHECKEDCONNECTION_H_
46 #include <ola/Clock.h>
48 #include <ola/thread/SchedulerInterface.h>
74 virtual void SendHeartbeat() = 0;
112 bool SendNextHeartbeat();
113 void UpdateReceiveTimer();
114 void InternalHeartbeatTimeout();
120 #endif // INCLUDE_OLA_NETWORK_HEALTHCHECKEDCONNECTION_H__
virtual void HeartbeatTimeout()=0
Definition: HealthCheckedConnection.h:57
bool Setup()
Definition: HealthCheckedConnection.cpp:45
void PauseTimer()
Definition: HealthCheckedConnection.cpp:80
void ResumeTimer()
Definition: HealthCheckedConnection.cpp:91
void * timeout_id
A timeout handle which can later be used to cancel a timeout.
Definition: SchedulerInterface.h:34
void HeartbeatSent()
Definition: HealthCheckedConnection.cpp:59
The namespace containing all OLA symbols.
Definition: Credentials.cpp:44
Allows Callbacks to be scheduled to run after a specified interval.
Definition: SchedulerInterface.h:46
void HeartbeatReceived()
Definition: HealthCheckedConnection.cpp:71