Class NetworkRequestEvent
java.lang.Object
desmoj.core.simulator.NamedObject
desmoj.core.simulator.ModelComponent
desmoj.core.simulator.Schedulable
desmoj.core.simulator.EventAbstract
desmoj.core.simulator.ExternalEvent
cambio.simulator.entities.NamedExternalEvent
cambio.simulator.entities.networking.NetworkRequestEvent
- Direct Known Subclasses:
NetworkRequestCanceledEvent,NetworkRequestReceiveEvent,NetworkRequestSendEvent,NetworkRequestTimeoutEvent
Superclass for network events that take care of exactly one traveling
Request. It provides its subclasses
with references to the traveling request and the IRequestUpdateListener.- Author:
- Lion Wagner
- See Also:
-
Field Summary
FieldsFields inherited from class desmoj.core.simulator.EventAbstract
numberOfEntitiesFields inherited from class desmoj.core.simulator.Schedulable
_schedule -
Constructor Summary
ConstructorsConstructorDescriptionNetworkRequestEvent(desmoj.core.simulator.Model model, String name, boolean showInTrace, Request travelingRequest) Common constructor that enforces the association of a request with an External Event. -
Method Summary
Modifier and TypeMethodDescriptionabstract voidTo be implemented by Subclasses.Methods inherited from class cambio.simulator.entities.NamedExternalEvent
eventRoutine, getPlainName, getQuotedName, getQuotedPlainName, renameMethods inherited from class desmoj.core.simulator.ExternalEvent
clone, schedule, schedule, schedule, schedule, scheduleAfter, scheduleBefore, schedulePreemptMethods inherited from class desmoj.core.simulator.EventAbstract
generateTraceForScheduling, getNumberOfEntities, getRealTimeConstraint, getSchedulingPriority, isExternal, setRealTimeConstraint, setSchedulingPriorityMethods inherited from class desmoj.core.simulator.Schedulable
assignReporter, cancel, getCorrespondingReportable, isCurrent, isScheduled, reSchedule, reSchedule, reSchedulePreempt, scheduledNext, setCorrespondingReportableMethods 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, traceOnMethods inherited from class desmoj.core.simulator.NamedObject
getName, toString
-
Field Details
-
travelingRequest
-
updateListener
-
-
Constructor Details
-
NetworkRequestEvent
public NetworkRequestEvent(desmoj.core.simulator.Model model, String name, boolean showInTrace, Request travelingRequest) Common constructor that enforces the association of a request with an External Event.- Parameters:
travelingRequest- the request that is associated with this request.
-
-
Method Details
-
onRoutineExecution
public abstract void onRoutineExecution() throws co.paralleluniverse.fibers.SuspendExecutionTo be implemented by Subclasses.- Specified by:
onRoutineExecutionin classNamedExternalEvent- Throws:
co.paralleluniverse.fibers.SuspendExecution
-
getTravelingRequest
-