Class RemoteActionPlan

    • Constructor Detail

      • RemoteActionPlan

        public RemoteActionPlan()
    • Method Detail

      • requestAction

        public IGoal requestAction​(IComponentAction 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.
      • failed

        public void failed()
        When the plan has failed, assume that environment is down. Remove fact to enable new search for environment.
        Overrides:
        failed in class Plan
      • searchEnvironmentAgent

        protected IComponentIdentifier searchEnvironmentAgent()
        Search the environent agent and store its AID in the beliefbase.