Package jline.lang.state
Class AfterEventStationReply
java.lang.Object
jline.lang.state.AfterEventStationReply
- All Implemented Interfaces:
Serializable
Arrival of a REPLY signal class at the FCFS station that is holding a server for
the matching synchronous call. The reply completes the call:
- one held server of the calling class is released (the reply block counter is decremented);
- the reply itself takes that server, never a waiting job, and is served here (typically Immediate) before being routed on.
Unlike a NEGATIVE or CATASTROPHE signal the reply is NOT annihilated: it is a job that carries the call result onward. This mirrors LDES, where a REPLY arrival frees the blocked server and then continues routing.
The event is passive: the rate is set by the active departure at the callee.
Port of MATLAB State.afterEventStationReply.
- See Also:
-
Method Summary
-
Method Details
-
apply
public static Ret.EventResult apply(NetworkStruct sn, int ind, int ist, int jobClass, Matrix K, Matrix Ks, Matrix S, Map<Station, Map<JobClass, Matrix>> pie, Matrix spaceBuf, Matrix spaceSrv, Matrix spaceVar) Applies a REPLY arrival at nodeind.- Parameters:
sn- network structureind- node index of the holding stationist- station index of the holding stationjobClass- 0-based index of the arriving REPLY classK- per-class number of service phasesKs- per-class phase offset into the server blockS- per-station number of serverspie- per-station, per-class service entry-phase distributionspaceBuf- buffer part of the statespaceSrv- server part of the statespaceVar- local-variable part of the state- Returns:
- successor states, rates (-1, passive) and entry-phase probabilities
-