elevator v1.0.0 OrderDistributor View Source
A module for assigning and distributing orders from the local button panel to the most optimal order handler.
It should be noted that the OrderDistributor
has no state like a regular GenServer
would have, but the GenServer
behavior is still used for casting and calling functionality.
Link to this section Summary
Functions
Informs the OrderDistributor
that a button was pressed.
Returns a specification to start this module under a supervisor.
Callback implementation for GenServer.init/1
.
Starts the OrderDistributor
, to be used in a supervision tree, see Supervisor
.
Link to this section Functions
Informs the OrderDistributor
that a button was pressed.
Returns a specification to start this module under a supervisor.
See Supervisor
.
Callback implementation for GenServer.init/1
.
Starts the OrderDistributor
, to be used in a supervision tree, see Supervisor
.