public abstract class ForkedBehaviourProcess extends SimuComSimProcess
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
assemblyContextID |
protected Context |
myContext |
currentSessionId
Constructor and Description |
---|
ForkedBehaviourProcess(Context myContext,
java.lang.String assemblyContextID,
boolean isAsync) |
ForkedBehaviourProcess(Context myContext,
java.lang.String assemblyContextID,
boolean isAsync,
int priority) |
Modifier and Type | Method and Description |
---|---|
protected Context |
createForkContext(Context myContext)
Factory method for the fork context used in the forked behaviour
|
protected abstract void |
executeBehaviour()
Template method filled by the generate with the parallel behaviour specified in the PCM's
fork action
|
protected void |
internalLifeCycle() |
boolean |
isAsync() |
boolean |
isTerminated() |
activate, addProcessToSimStatus, addTerminatedObserver, fireTerminated, getCurrentSessionId, getModel, getPriority, getRequestContext, getRootProcess, getSimProcessStatus, hold, isFinished, lifeCycle, notifyResuming, notifySuspending, notifyTerminated, removeProcessFromSimStatus, removeTerminatedObserver, setPriority, timeout, updateNewSessionID
addProcessListener, getId, getRawId, passivate, passivate, preempt, removeProcessListener, scheduleAt
getEncapsulatedEntity, isScheduled, reschedule
protected final Context myContext
protected final java.lang.String assemblyContextID
public ForkedBehaviourProcess(Context myContext, java.lang.String assemblyContextID, boolean isAsync)
public ForkedBehaviourProcess(Context myContext, java.lang.String assemblyContextID, boolean isAsync, int priority)
protected Context createForkContext(Context myContext)
myContext
- protected void internalLifeCycle()
internalLifeCycle
in class SimuComSimProcess
protected abstract void executeBehaviour()
public boolean isAsync()
public boolean isTerminated()
isTerminated
in interface de.uka.ipd.sdq.simulation.abstractsimengine.ISimProcess
isTerminated
in class de.uka.ipd.sdq.simulation.abstractsimengine.AbstractSimProcessDelegator