Class NetworkRequestReceiveEvent

java.lang.Object
desmoj.core.simulator.NamedObject
desmoj.core.simulator.ModelComponent
desmoj.core.simulator.Schedulable
desmoj.core.simulator.EventAbstract
desmoj.core.simulator.ExternalEvent

public class NetworkRequestReceiveEvent extends NetworkRequestEvent
Event that represents the successful arrival of a request at its target instance.

Gives the traveling request to the receiving handler on arrival.

Author:
Lion Wagner
  • Field Summary

    Fields inherited from class cambio.simulator.entities.networking.NetworkRequestEvent

    travelingRequest, updateListener

    Fields inherited from class desmoj.core.simulator.EventAbstract

    numberOfEntities

    Fields inherited from class desmoj.core.simulator.Schedulable

    _schedule
  • Constructor Summary

    Constructors
    Constructor
    Description
    NetworkRequestReceiveEvent(desmoj.core.simulator.Model model, String name, boolean showInTrace, Request travelingRequest, MicroserviceInstance receiver)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    To be implemented by Subclasses.

    Methods inherited from class cambio.simulator.entities.networking.NetworkRequestEvent

    getTravelingRequest

    Methods inherited from class cambio.simulator.entities.NamedExternalEvent

    eventRoutine, getPlainName, getQuotedName, getQuotedPlainName, rename

    Methods inherited from class desmoj.core.simulator.ExternalEvent

    clone, schedule, schedule, schedule, schedule, scheduleAfter, scheduleBefore, schedulePreempt

    Methods inherited from class desmoj.core.simulator.EventAbstract

    generateTraceForScheduling, getNumberOfEntities, getRealTimeConstraint, getSchedulingPriority, isExternal, setRealTimeConstraint, setSchedulingPriority

    Methods inherited from class desmoj.core.simulator.Schedulable

    assignReporter, cancel, getCorrespondingReportable, isCurrent, isScheduled, reSchedule, reSchedule, reSchedulePreempt, scheduledNext, setCorrespondingReportable

    Methods inherited from class desmoj.core.simulator.ModelComponent

    current, currentEntity, currentEntityAll, currentEvent, currentlySendDebugNotes, currentlySendTraceNotes, currentModel, currentSimProcess, debugIsOn, debugOff, debugOn, getModel, isExperimentCompatible, isModelCompatible, presentTime, sendDebugNote, sendMessage, sendTraceNote, sendWarning, skipTraceNote, skipTraceNote, traceIsOn, traceOff, traceOn

    Methods inherited from class desmoj.core.simulator.NamedObject

    getName, toString

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • NetworkRequestReceiveEvent

      public NetworkRequestReceiveEvent(desmoj.core.simulator.Model model, String name, boolean showInTrace, Request travelingRequest, MicroserviceInstance receiver)
  • Method Details

    • onRoutineExecution

      public void onRoutineExecution() throws co.paralleluniverse.fibers.SuspendExecution
      Description copied from class: NetworkRequestEvent
      To be implemented by Subclasses.
      Specified by:
      onRoutineExecution in class NetworkRequestEvent
      Throws:
      co.paralleluniverse.fibers.SuspendExecution