| |
|
| java.lang.Object org.obe.spi.model.JoinInstance org.obe.spi.model.OrJoinInstance
OrJoinInstance | final public class OrJoinInstance extends JoinInstance (Code) | | Implements the logic and state of an XOR-JOIN instance.
author: Adrian Price |
Method Summary | |
public synchronized boolean | shouldFire(String transitionId) Handles the activation of an afferent transition. |
OrJoinInstance | public OrJoinInstance(String[] transitions)(Code) | | Constructs a new XOR-join instance.
Parameters: transitions - IDs of afferent transitions. |
shouldFire | public synchronized boolean shouldFire(String transitionId)(Code) | | Handles the activation of an afferent transition. An XOR-join fires as
soon as one its afferent transitions has fired; subsequent activations
of any of the transitions are ignored until the join is
OrJoinInstance.reset .
Parameters: transitionId - The ID of the transition that fired. true if the join fired. |
|
|
|