Package jadex.bdi.runtime
Interface IExternalBDIAgentFeature
- All Known Subinterfaces:
IBDIAgent,IBDIAgentFeature,IInternalBDIAgentFeature
- All Known Implementing Classes:
BDIAgentFeature
public interface IExternalBDIAgentFeature
External perspective for
-
Method Summary
Modifier and TypeMethodDescription<T,E> jadex.future.IFuture<E> adoptPlan(T plan) Dispatch a pojo plan and wait for its result.<T,E> jadex.future.IFuture<E> Dispatch a goal wait for its result.<T,E> jadex.future.IFuture<E> dispatchTopLevelGoal(T goal) Dispatch a pojo goal wait for its result.
-
Method Details
-
dispatchTopLevelGoal
<T,E> jadex.future.IFuture<E> dispatchTopLevelGoal(T goal) Dispatch a pojo goal wait for its result.- Parameters:
goal- The pojo goal.- Returns:
- The goal result.
-
adoptPlan
<T,E> jadex.future.IFuture<E> adoptPlan(T plan) Dispatch a pojo plan and wait for its result.- Parameters:
plan- The pojo plan or plan name.- Returns:
- The plan result, i.e. the return value of the plan body method, if any.
-
adoptPlan
Dispatch a goal wait for its result.- Parameters:
plan- The pojo plan or plan name.args- The plan arguments.- Returns:
- The plan result, i.e. the return value of the plan body method, if any.
-