Package jadex.bridge.component
Interface IExecutionFeature
-
- All Superinterfaces:
IExternalComponentFeature
,IExternalExecutionFeature
- All Known Subinterfaces:
IBDIAgent
,IInternalAccess
public interface IExecutionFeature extends IExternalExecutionFeature
The execution feature allows to schedule steps to be synchronously executed on the component.
-
-
Field Summary
Fields Modifier and Type Field Description static int
STEP_PRIORITY_IMMEDIATE
Constant for first immediate step level.static int
STEP_PRIORITY_NORMAL
Constant for first normal step level.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> IIntermediateResultListener<T>
createResultListener(IIntermediateResultListener<T> listener)
Create a result listener that is executed on the component thread.<T> IResultListener<T>
createResultListener(IResultListener<T> listener)
Create a result listener that is executed on the component thread.IComponentDescription
getDescription()
Get the component description.boolean
isComponentThread()
Test if current thread is the component thread.-
Methods inherited from interface jadex.bridge.component.IExternalExecutionFeature
getDescription, getDescriptionAsync, getDescriptions, getExternalAccess, getExternalAccessAsync, killComponent, killComponent, listenToAll, listenToComponent, repeatStep, repeatStep, resumeComponent, scheduleStep, scheduleStep, setComponentBreakpoints, stepComponent, suspendComponent, waitForDelay, waitForDelay, waitForDelay, waitForDelay, waitForTermination, waitForTick, waitForTick
-
-
-
-
Field Detail
-
STEP_PRIORITY_NORMAL
static final int STEP_PRIORITY_NORMAL
Constant for first normal step level.- See Also:
- Constant Field Values
-
STEP_PRIORITY_IMMEDIATE
static final int STEP_PRIORITY_IMMEDIATE
Constant for first immediate step level.- See Also:
- Constant Field Values
-
-
Method Detail
-
getDescription
IComponentDescription getDescription()
Get the component description.- Returns:
- The component description.
-
isComponentThread
boolean isComponentThread()
Test if current thread is the component thread.- Returns:
- True if the current thread is the component thread.
-
createResultListener
<T> IResultListener<T> createResultListener(IResultListener<T> listener)
Create a result listener that is executed on the component thread.
-
createResultListener
<T> IIntermediateResultListener<T> createResultListener(IIntermediateResultListener<T> listener)
Create a result listener that is executed on the component thread.
-
-