Class RemoteActionPlan
- java.lang.Object
- 
- jadex.bdiv3x.runtime.Plan
- 
- jadex.bdi.examples.hunterprey_classic.creature.actsense.RemoteActionPlan
 
 
- 
- Direct Known Subclasses:
- EatPlan,- GetVisionPlan,- MovePlan
 
 public abstract class RemoteActionPlan extends Plan Offers a methods for interacting with the hunterprey environment.
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from class jadex.bdiv3x.runtime.PlanPlan.PlanWaitAbstraction
 
- 
 - 
Constructor SummaryConstructors Constructor Description RemoteActionPlan()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidfailed()When the plan has failed, assume that environment is down.IGoalrequestAction(java.lang.Object action)Request an action from the environment.protected IComponentIdentifiersearchEnvironmentAgent()Search the environent agent and store its AID in the beliefbase.- 
Methods inherited from class jadex.bdiv3x.runtime.Planaborted, body, checkNotInAtomic, createExpression, createGoal, createInternalEvent, createMessageEvent, dispatchInternalEvent, dispatchSubgoal, dispatchSubgoalAndWait, dispatchSubgoalAndWait, dispatchTopLevelGoal, endAtomic, fail, fail, fail, getAgent, getBeliefbase, getClock, getComponentDescription, getComponentIdentifier, getComponentName, getDispatchedElement, getEventbase, getException, getExpression, getExpressionbase, getExternalAccess, getGoalbase, getLogger, getParameter, getParameters, getParameterSet, getParameterSets, getPlanbase, getPlanElement, getReason, getRPlan, getScope, getTime, getWaitqueue, hasParameter, hasParameterSet, killAgent, passed, sendMessage, sendMessageAndWait, sendMessageAndWait, startAtomic, toString, waitFor, waitForCondition, waitForCondition, waitForCondition, waitForConditionInline, waitForConditionInline, waitForEver, waitForFactAdded, waitForFactAdded, waitForFactChanged, waitForFactChanged, waitForFactRemoved, waitForFactRemoved, waitForGoalFinished, waitForGoalFinished, waitForGoalFinished, waitForGoalFinished, waitForInternalEvent, waitForInternalEvent, waitForMessageEvent, waitForMessageEvent, waitForReply, waitForReply, waitForReply, waitForReply, waitForTick
 
- 
 
- 
- 
- 
Method Detail- 
requestActionpublic IGoal requestAction(java.lang.Object action) throws jadex.bdiv3.runtime.impl.GoalFailureException Request an action from the environment.- Parameters:
- action- The action.
- Returns:
- The finished goal.
- Throws:
- jadex.bdiv3.runtime.impl.GoalFailureException- when the request goal fails.
 
 - 
failedpublic void failed() When the plan has failed, assume that environment is down. Remove fact to enable new search for environment.
 - 
searchEnvironmentAgentprotected IComponentIdentifier searchEnvironmentAgent() Search the environent agent and store its AID in the beliefbase.
 
- 
 
-