BPXE.Engine.SensorGateway (bpxe v0.4.0)
Note: This gateway is not described in BPMN 2.0. However, it's available through BPXE's extension schema.
This gateway senses which of first N-1 incoming sequence flows fired (i.e. their conditions were truthful) [where N is the total number of incoming sequence flows], maps these N-1 incoming sequence flows to first N-1 outgoing sequence flows, and once Nth incoming sequence fires, it sends 0-based indices of incoming sequences fired to Nth outgoing sequence flow.
This gateway is used to facilitate things like BPXE.Engine.InclusiveGateway
Link to this section Summary
Functions
Returns a specification to start this module under a supervisor.
Callback implementation for GenServer.init/1
.
Link to this section Functions
before_handle_token(arg, state)
child_spec(init_arg)
Returns a specification to start this module under a supervisor.
See Supervisor
.
enter_loop(state)
get_input_data(id, state)
get_output_data(id, state)
handle_completion(state)
handle_recovery(recovered, state)
handle_token(arg, state)
init(arg)
Callback implementation for GenServer.init/1
.