1 package org.smartcomps.twister.engine.priv.core.dynamic;
2
3 import org.dom4j.Element;
4 import org.dom4j.Document;
5 import org.smartcomps.twister.engine.priv.core.definition.Activity;
6
7 /***
8 * Execution Context of the Pick activity.
9 * @see org.smartcomps.twister.engine.priv.core.definition.Pick
10 */
11 public interface PickEC extends StructuredEC {
12
13 /***
14 * Notifies that the alarm event of the activity at activityPos in this
15 * structured activity has been fired, meaning the pick execution context
16 * has expired and the activity declared to be executed in that case
17 * must be executed.
18 * @param activityPos
19 */
20 public void notifyAlarm(int activityPos);
21
22 /***
23 * Tells the pick execution context that a message has been received
24 * targeted at an activity of one of its message events.
25 * @param activity
26 * @param message
27 */
28 public void acknowledgeMessage(Activity activity, Document message);
29
30 }
This page was automatically generated by Maven