elevator v1.0.0 OrderWatchdog View Source

A module for keeping track of the hall orders which are underway to being handled, and triggering a resend of orders which stay unhandled for too long.

Link to this section Summary

Functions

Requests the OrderWatchdogs to add an order, and begin a watchdog timer on it for resending.

Returns a specification to start this module under a supervisor.

Signals to the OrderWatchdogs that a floor has been cleared, which triggers a deletion of all orders in the OrderWatchdogs handled by the signalling node.

Triggers all OrderWatchdogs to push their list of orders to the other n-1 OrderWatchdogs, effectively synchronizing the OrderWatchdogs.

Starts the OrderWatchdog in a supervision tree, see Supervisor.

Link to this section Functions

Requests the OrderWatchdogs to add an order, and begin a watchdog timer on it for resending.

Returns a specification to start this module under a supervisor.

See Supervisor.

Signals to the OrderWatchdogs that a floor has been cleared, which triggers a deletion of all orders in the OrderWatchdogs handled by the signalling node.

Initializes the OrderWatchdog by calling multiTriggerImpatientOrderPush/0.

Link to this function

multiTriggerImpatientOrderPush()

View Source

Triggers all OrderWatchdogs to push their list of orders to the other n-1 OrderWatchdogs, effectively synchronizing the OrderWatchdogs.

Starts the OrderWatchdog in a supervision tree, see Supervisor.