Class NetworkRequestCanceledEvent
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
cambio.simulator.entities.networking.NetworkRequestCanceledEvent
Event that should be scheduled when a request gets canceled.
- Author:
- Lion Wagner
-
Field Summary
Fields inherited from class cambio.simulator.entities.networking.NetworkRequestEvent
travelingRequest, updateListenerFields inherited from class desmoj.core.simulator.EventAbstract
numberOfEntitiesFields inherited from class desmoj.core.simulator.Schedulable
_schedule -
Constructor Summary
ConstructorsConstructorDescriptionNetworkRequestCanceledEvent(desmoj.core.simulator.Model model, String name, boolean showInTrace, Request request, RequestFailedReason reason) NetworkRequestCanceledEvent(desmoj.core.simulator.Model model, String name, boolean showInTrace, Request request, RequestFailedReason reason, String details) Creates an event that notifiesIRequestUpdateListeners of the failing of a request. -
Method Summary
Methods inherited from class cambio.simulator.entities.networking.NetworkRequestEvent
getTravelingRequestMethods 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
-
Constructor Details
-
NetworkRequestCanceledEvent
public NetworkRequestCanceledEvent(desmoj.core.simulator.Model model, String name, boolean showInTrace, Request request, RequestFailedReason reason) -
NetworkRequestCanceledEvent
public NetworkRequestCanceledEvent(desmoj.core.simulator.Model model, String name, boolean showInTrace, Request request, RequestFailedReason reason, String details) Creates an event that notifiesIRequestUpdateListeners of the failing of a request.- Parameters:
request- requestreason- why the request canceled/faileddetails- optional reasoning string that is used in the trace
-
-
Method Details
-
onRoutineExecution
public void onRoutineExecution() throws co.paralleluniverse.fibers.SuspendExecutionDescription copied from class:NetworkRequestEventTo be implemented by Subclasses.- Specified by:
onRoutineExecutionin classNetworkRequestEvent- Throws:
co.paralleluniverse.fibers.SuspendExecution
-