de.uka.ipd.sdq.scheduler.events
Class ProceedEvent

java.lang.Object
  extended by Event
      extended by de.uka.ipd.sdq.scheduler.events.ProceedEvent

public class ProceedEvent
extends Event

Event to proceed the activity of a process. This event requires, that at the time it happens, the current demand of the process is zero, thus all former actions of the process have been finished. This event can either continue the process directly or execute a delayed action of the process. Delayed actions are activities that are executed by the scheduler (e.g. some housekeeping or asking for access to a passive resource) but require the process to be running. DelayedActions have priority of the proceeding of the process as they have to be finished in oder to continue process execution.

Author:
jens

Field Summary
protected  IActiveProcess process
           
protected  IScheduler scheduler
           
 
Constructor Summary
ProceedEvent(IActiveProcess process)
           
 
Method Summary
 void actions()
           
 void setDelayedAction(IDelayedAction action)
           
 void setScheduler(IScheduler scheduler)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

process

protected IActiveProcess process

scheduler

protected IScheduler scheduler
Constructor Detail

ProceedEvent

public ProceedEvent(IActiveProcess process)
Method Detail

setDelayedAction

public void setDelayedAction(IDelayedAction action)

actions

public void actions()

setScheduler

public void setScheduler(IScheduler scheduler)