Package jason.infra.jade
Class JadeExecutionControl
java.lang.Object
jade.core.Agent
jason.infra.jade.JadeAg
jason.infra.jade.JadeExecutionControl
- All Implemented Interfaces:
jade.core.TimerListener
,jade.util.leap.Serializable
,ExecutionControlInfraTier
,Serializable
,Runnable
Concrete execution control implementation for Jade infrastructure.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class jade.core.Agent
jade.core.Agent.Interrupted
-
Field Summary
Fields inherited from class jason.infra.jade.JadeAg
ASKALL, ASKHOW, conversationIds, logger, running, TELLHOW, UNACHIEVE, UNTELL, UNTELLHOW
Fields inherited from class jade.core.Agent
AP_ACTIVE, AP_DELETED, AP_IDLE, AP_INITIATED, AP_MAX, AP_MIN, AP_SUSPENDED, AP_WAITING, D_ACTIVE, D_MAX, D_MIN, D_RETIRED, D_SUSPENDED, D_UNKNOWN, MSG_QUEUE_CLASS
-
Constructor Summary
-
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
setup()
protected void
takeDown()
Methods inherited from class jason.infra.jade.JadeAg
aclPerformativeToKqml, addAllAgsAsReceivers, ask, broadcast, doDelete, incReplyWithId, isRunning, jasonToACL, kqmlToACL, putConversationId, sendMsg
Methods inherited from class jade.core.Agent
addBehaviour, afterClone, afterMove, beforeClone, beforeMove, blockingReceive, blockingReceive, blockingReceive, blockingReceive, changeStateTo, clean, createMessageQueue, doActivate, doClone, doMove, doSuspend, doTimeOut, doWait, doWait, doWake, getAgentState, getAID, getAID, getAMS, getArguments, getBootProperties, getContainerController, getContentManager, getCurQueueSize, getDefaultDF, getHap, getHelper, getLocalName, getName, getO2AInterface, getO2AObject, getProperty, getQueueSize, getState, here, isRestarting, join, notifyChangeBehaviourState, notifyRestarted, postMessage, putBack, putO2AObject, receive, receive, registerO2AInterface, removeBehaviour, removeTimer, restartLater, restore, restoreBufferedState, run, send, setArguments, setEnabledO2ACommunication, setGenerateBehaviourEvents, setO2AManager, setQueueSize, waitUntilStarted, write
-
Field Details
-
controllerOntology
-
-
Constructor Details
-
JadeExecutionControl
public JadeExecutionControl()
-
-
Method Details
-
setup
public void setup()- Overrides:
setup
in classjade.core.Agent
-
takeDown
protected void takeDown()- Overrides:
takeDown
in classjade.core.Agent
-
getUserControl
-
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
-