org.smartcomps.twister.engine.priv.core.dynamic
Interface PickEC

All Superinterfaces:
ExecutionContext, StructuredEC
All Known Implementing Classes:
PickECImpl

public interface PickEC
extends StructuredEC

Execution Context of the Pick activity.

See Also:
Pick

Field Summary
 
Fields inherited from interface org.smartcomps.twister.engine.priv.core.dynamic.ExecutionContext
ACTIVE, CANCELED, COMPLETED, ENDED_CANCELED, ENDED_COMPLETED, ENDED_FAULTED, FAULTED, OPEN
 
Method Summary
 void acknowledgeMessage(org.smartcomps.twister.engine.priv.core.definition.Activity activity, org.dom4j.Document message)
          Tells the pick execution context that a message has been received targeted at an activity of one of its message events.
 void notifyAlarm(int activityPos)
          Notifies that the alarm event of the activity at activityPos in this structured activity has been fired, meaning the pick execution context has expired and the activity declared to be executed in that case must be executed.
 
Methods inherited from interface org.smartcomps.twister.engine.priv.core.dynamic.StructuredEC
addExecutionContext, getActivity, getActivityForChildContext, getExecution, getExecutionContexts, notifyExecution, notifyTermination, setActivity
 
Methods inherited from interface org.smartcomps.twister.engine.priv.core.dynamic.ExecutionContext
execute, fetchInstance, getContainer, getEvents, getId, getInstance, getStatus, setStatus
 

Method Detail

notifyAlarm

public void notifyAlarm(int activityPos)
Notifies that the alarm event of the activity at activityPos in this structured activity has been fired, meaning the pick execution context has expired and the activity declared to be executed in that case must be executed.

Parameters:
activityPos -

acknowledgeMessage

public void acknowledgeMessage(org.smartcomps.twister.engine.priv.core.definition.Activity activity,
                               org.dom4j.Document message)
Tells the pick execution context that a message has been received targeted at an activity of one of its message events.

Parameters:
activity -
message -


Copyright © 2003 SmartComps. All Rights Reserved.