Show:

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

(
  • agent
  • dispatcher
)
protected

Parameters:

  • agent Object

    An agent object (with id) to watch

  • dispatcher Object

    The dispatcher hosting this watchdog

Item Index