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

    Modifier and Type
    Method
    Description
    void
    eventRoutine(de.uka.ipd.sdq.scheduler.processes.SimpleWaitingProcess who)
     
    de.uka.ipd.sdq.scheduler.processes.SimpleWaitingProcess
    Retrieves the waiting process.
    Retrieves the passive resource.

    Methods inherited from class de.uka.ipd.sdq.simulation.abstractsimengine.AbstractSimEventDelegator

    removeEvent, schedule, scheduledAtTime

    Methods inherited from class de.uka.ipd.sdq.simulation.abstractsimengine.SimulationElement

    getModel, getName

    Methods inherited from class java.lang.Object

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

    • 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 model
      resource - the involved passive resource
      process - the waiting process
  • Method Details

    • 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