onHeartbeat abstract method
- Heartbeat heartbeat,
- SocketInfo source
Handle an incoming heartbeat coming from a given source.
Be sure to check Connect.sender and Connect.receiver, and compare the source
against
the current destination to properly handle the heartbeat.
Implementation
void onHeartbeat(Heartbeat heartbeat, SocketInfo source);