Gate Station
A gate that passes arriving QObject instances straight through while open, and holds them (in arrival order) while closed. Opening the gate releases all held instances. The gate is controlled externally via open and close — for example by a scheduled event, a controller, or an agent reacting to network state — making it the station-view hook for signal/condition control.
Parameters
the model element serving as this station's parent
where released instances are sent
the gate's state at the start of each replication
the name of the station
Constructors
Properties
True if this node has any onward routing configured (a static next receiver, a station-level sender, or a class route). A non-terminal node for which this is false — and which is not a non-terminal step of a registered route — is a dangling node and fails validation.
Time-weighted number of instances currently held at the gate.
The number of instances released through the gate.
Functions
This method should be overridden by subclasses that need actions performed to initialize prior to a replication. It is called once before each replication occurs if the model element wants initialization. It is called after beforeReplication() is called
Sets the receiver of released instances.
The statically known receivers this node may route to. Best-effort: empty when the node has no static link or when its routing is opaque (for example, a probabilistic sender whose destinations are not introspectable).