Class 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 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 model
        resource - the involved passive resource
        process - 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