|
Jadex 0.941 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjadex.runtime.JavaMobilePlanExecutor
A plan executor for JADE-behaviour style plans (with action method called for each step). Plan bodies have to inherit from @link{MobilePlan}.
Constructor Summary | |
JavaMobilePlanExecutor()
Create a new threadbased plan executor. |
Method Summary | |
Object |
createPlanBody(jadex.runtime.impl.RPlan plan)
Create the body of a plan. |
boolean |
executePlanStep(jadex.runtime.impl.RPlan plan)
Execute a step of a plan. |
Thread |
getExecutionThread(jadex.runtime.impl.RPlan rplan)
Get the executing thread of a plan. |
void |
interruptPlanStep(jadex.runtime.impl.RPlan plan)
Interrupt a plan step during execution. |
void |
terminatePlan(jadex.runtime.impl.RPlan rplan)
Called on termination of a plan. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JavaMobilePlanExecutor()
Method Detail |
public Object createPlanBody(jadex.runtime.impl.RPlan plan) throws Exception
createPlanBody
in interface IPlanExecutor
plan
- The plan.
Exception
public boolean executePlanStep(jadex.runtime.impl.RPlan plan) throws Exception
executePlanStep
in interface IPlanExecutor
Exception
public void interruptPlanStep(jadex.runtime.impl.RPlan plan)
interruptPlanStep
in interface IPlanExecutor
public void terminatePlan(jadex.runtime.impl.RPlan rplan)
terminatePlan
in interface IPlanExecutor
public Thread getExecutionThread(jadex.runtime.impl.RPlan rplan)
getExecutionThread
in interface IPlanExecutor
rplan
- The plan.
|
Jadex 0.941 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (C) 2002-2005 Lars Braubach, Alexander Pokahr, Andrzej Walczak - University of Hamburg. Use is subject to license terms.