IngressStation

A non-generating entry port: accepts externally created or transferred QObject instances into the network (performing the entry bookkeeping) and forwards them to the first internal receiver. Unlike a SourceStation it does not generate arrivals; it is the receiving end of a TransferStation or any external producer.

A transferred instance keeps its original creation time, so end-to-end system time across networks is preserved (and recorded at the final network's sink).

Parameters

network

the network this ingress feeds

firstReceiver

where entering instances are sent

name

the name of the station

Properties

Link copied to clipboard
open override val hasOnwardRouting: Boolean

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.

Link copied to clipboard
open override val portName: String

The name of this port, unique within its StationNetwork.

Functions

Link copied to clipboard

Sets the receiver that processes entering instances.

Link copied to clipboard
open override fun outlets(): List<QObjectReceiverIfc>

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).

Link copied to clipboard
open override fun receive(arrivingQObject: ModelElement.QObject)