Class PassiveResourceTimeoutEvent
- java.lang.Object
-
- de.uka.ipd.sdq.simulation.abstractsimengine.SimulationElement
-
- de.uka.ipd.sdq.simulation.abstractsimengine.AbstractSimEventDelegator<de.uka.ipd.sdq.scheduler.processes.SimpleWaitingProcess>
-
- de.uka.ipd.sdq.simucomframework.resources.PassiveResourceTimeoutEvent
-
- All Implemented Interfaces:
de.uka.ipd.sdq.simulation.abstractsimengine.ISimEvent<de.uka.ipd.sdq.scheduler.processes.SimpleWaitingProcess>
,de.uka.ipd.sdq.simulation.abstractsimengine.ISimRunnable<de.uka.ipd.sdq.scheduler.processes.SimpleWaitingProcess>
public class PassiveResourceTimeoutEvent extends de.uka.ipd.sdq.simulation.abstractsimengine.AbstractSimEventDelegator<de.uka.ipd.sdq.scheduler.processes.SimpleWaitingProcess>
This event indicates a timeout of a process waiting at a passive resource.
-
-
Constructor Summary
Constructors Constructor Description PassiveResourceTimeoutEvent(SimuComModel simuComModel, de.uka.ipd.sdq.scheduler.SchedulerModel model, SimSimpleFairPassiveResource resource, de.uka.ipd.sdq.scheduler.processes.SimpleWaitingProcess process)
Creates a new timeout event.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
eventRoutine(de.uka.ipd.sdq.scheduler.processes.SimpleWaitingProcess who)
de.uka.ipd.sdq.scheduler.processes.SimpleWaitingProcess
getProcess()
Retrieves the waiting process.SimSimpleFairPassiveResource
getResource()
Retrieves the passive resource.-
Methods inherited from class de.uka.ipd.sdq.simulation.abstractsimengine.AbstractSimEventDelegator
removeEvent, schedule, scheduledAtTime
-
-
-
-
Constructor Detail
-
PassiveResourceTimeoutEvent
public PassiveResourceTimeoutEvent(SimuComModel simuComModel, de.uka.ipd.sdq.scheduler.SchedulerModel model, SimSimpleFairPassiveResource resource, de.uka.ipd.sdq.scheduler.processes.SimpleWaitingProcess process)
Creates a new timeout event.- Parameters:
model
- the SimuCom modelresource
- the involved passive resourceprocess
- the waiting process
-
-
Method Detail
-
eventRoutine
public void eventRoutine(de.uka.ipd.sdq.scheduler.processes.SimpleWaitingProcess who)
-
getProcess
public de.uka.ipd.sdq.scheduler.processes.SimpleWaitingProcess getProcess()
Retrieves the waiting process.- Returns:
- the waiting process
-
getResource
public SimSimpleFairPassiveResource getResource()
Retrieves the passive resource.- Returns:
- the passive resource
-
-