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 OrderWatchdog
s 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 OrderWatchdog
s that a floor has been cleared, which triggers a deletion of all orders in the OrderWatchdog
s handled by the signalling node.
Initializes the OrderWatchdog
by calling multiTriggerImpatientOrderPush/0
.
Triggers all OrderWatchdog
s to push their list of orders to the other n-1 OrderWatchdog
s, effectively synchronizing the OrderWatchdog
s.
Starts the OrderWatchdog
in a supervision tree, see Supervisor
.
Link to this section Functions
Requests the OrderWatchdog
s 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 OrderWatchdog
s that a floor has been cleared, which triggers a deletion of all orders in the OrderWatchdog
s handled by the signalling node.
Initializes the OrderWatchdog
by calling multiTriggerImpatientOrderPush/0
.
Triggers all OrderWatchdog
s to push their list of orders to the other n-1 OrderWatchdog
s, effectively synchronizing the OrderWatchdog
s.
Starts the OrderWatchdog
in a supervision tree, see Supervisor
.