Package jason.infra.local
Class LocalExecutionControl
java.lang.Object
jason.infra.local.LocalExecutionControl
- All Implemented Interfaces:
ExecutionControlInfraTier
Concrete implementation of the controller for Local infrastructure
tier.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionLocalExecutionControl
(ClassParameters userControlClass, BaseLocalMAS masRunner) -
Method Summary
Modifier and TypeMethodDescriptiongetAgState
(String agName) Gets the agent state (beliefs, intentions, plans, ...) as an XML documentGets an object with infrastructure runtime servicesvoid
informAgToPerformCycle
(String agName, int cycle) Informs an agent to continue to its next reasoning cycle.void
informAllAgsToPerformCycle
(int cycle) Informs all agents to continue to its next reasoning cycle.void
receiveFinishedCycle
(String agName, boolean breakpoint, int cycle) void
stop()
-
Field Details
-
executor
-
-
Constructor Details
-
LocalExecutionControl
public LocalExecutionControl(ClassParameters userControlClass, BaseLocalMAS masRunner) throws JasonException - Throws:
JasonException
-
-
Method Details
-
stop
public void stop() -
getUserControl
-
receiveFinishedCycle
-
informAgToPerformCycle
Description copied from interface:ExecutionControlInfraTier
Informs an agent to continue to its next reasoning cycle.- Specified by:
informAgToPerformCycle
in interfaceExecutionControlInfraTier
-
informAllAgsToPerformCycle
public void informAllAgsToPerformCycle(int cycle) Description copied from interface:ExecutionControlInfraTier
Informs all agents to continue to its next reasoning cycle.- Specified by:
informAllAgsToPerformCycle
in interfaceExecutionControlInfraTier
-
getAgState
Description copied from interface:ExecutionControlInfraTier
Gets the agent state (beliefs, intentions, plans, ...) as an XML document- Specified by:
getAgState
in interfaceExecutionControlInfraTier
-
getRuntimeServices
Description copied from interface:ExecutionControlInfraTier
Gets an object with infrastructure runtime services- Specified by:
getRuntimeServices
in interfaceExecutionControlInfraTier
-