Class AfterEventStationReply

java.lang.Object
jline.lang.state.AfterEventStationReply
All Implemented Interfaces:
Serializable

public class AfterEventStationReply extends Object implements 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:
  1. one held server of the calling class is released (the reply block counter is decremented);
  2. 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 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 node ind.
      Parameters:
      sn - network structure
      ind - node index of the holding station
      ist - station index of the holding station
      jobClass - 0-based index of the arriving REPLY class
      K - per-class number of service phases
      Ks - per-class phase offset into the server block
      S - per-station number of servers
      pie - per-station, per-class service entry-phase distribution
      spaceBuf - buffer part of the state
      spaceSrv - server part of the state
      spaceVar - local-variable part of the state
      Returns:
      successor states, rates (-1, passive) and entry-phase probabilities