NWay Station
A station with several input queues sharing one server group. Each input has its own queue (reached via input); when a server unit is free, a NWayQueueSelectionRuleIfc chooses which queue to serve next. This models multi-class or multi-stream service with an explicit cross-queue discipline.
Parameters
the model element serving as this station's parent
the number of input queues (>= 1)
the service-time distribution
the number of server units (>= 1)
the cross-queue selection rule (default: strict priority by index)
where processed instances go next
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 in the station (waiting plus in service).
The number of instances processed.
The input queues (read-only).
Time in the station per processed instance.
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
Returns the receiver for input stream index (its dedicated queue).
Sets the receiver of processed 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).