DeliveryEndpointIfc

Destination-side hook fired when a demand transitions into ksl.modeling.supplychain.DemandStateId.Delivered. The endpoint is responsible for advancing the demand to its terminal state — by calling demand.store() (for storing destinations) or by triggering a re-ship via demand.ship() (for pass-through destinations such as cross-docks with downstream routing).

Endpoints are persistent simulation structure — typically slotted onto a ksl.modeling.supplychain.inventory.NetworkNodeIfc. The framework attaches a Delivered-state observer to every demand at creation time; that observer looks up the demand's destination and invokes onDelivered on its endpoint.

See also

Inheritors

Functions

Link copied to clipboard
abstract fun onDelivered(demand: SupplyChainModel.Demand)

Called by the framework Delivered observer when demand transitions into Delivered at this endpoint's destination.