Dock Terminal Action
Terminal action a Dock performs once its service-time delay elapses for an arriving demand.
Store (default) — call
demand.store(), finishing the demand at the storing destination's inventory.Ship — re-ship the demand to its next multi-hop destination via Ship.routingTable and Ship.outboundCarrier.
Inheritors
Types
Link copied to clipboard
data class Ship(val routingTable: RoutingTableIfc, val outboundCarrier: DemandCarrierIfc) : DockTerminalAction
Re-ship the demand to its next hop in a multi-hop pass-through (a cross-dock). The dock looks up the next hop in routingTable using the demand's SupplyChainModel.Demand.demandSender (the final destination), calls demand.ship() to transition Delivered → Shipped, and hands the demand to outboundCarrier.
Link copied to clipboard
Finalise the demand at this destination via demand.store().