TransferStation

An egress port that hands instances off to a target receiver — typically the IngressStation of another network — instead of disposing of them. This is the station-view realization of a network-to-network transfer "in a prescribed manner": an optional transferDelay models transport time, and an optional transform can re-mark/repackage the instance on hand-off.

The instance leaves this network (its number-in-system is decremented and a transferred event is published) but its creation time is preserved, so the receiving network records end-to-end system time when the instance is finally disposed.

Parameters

network

the network this transfer leaves from

target

the receiver in the destination (e.g., another network's ingress)

transferDelay

optional transport time before delivery

transform

optional action applied to the instance on hand-off

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