WatchDog Class
Each instance is responsible for monitoring the state of a single agent. If we don't receive heartbeat at regular intervals, the watchdog will emit an agent-disconnected event to reset the agent communication.
Constructor
WatchDog
(
protected
-
agent -
dispatcher
Parameters:
-
agentObjectAn agent object (with id) to watch
-
dispatcherObjectThe dispatcher hosting this watchdog
Safelink