public class JadeExecutionControl extends JadeAg implements ExecutionControlInfraTier
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
controllerOntology |
private java.util.concurrent.ExecutorService |
executor |
private org.w3c.dom.Document |
state |
private java.lang.Object |
syncWaitState |
private ExecutionControl |
userControl |
Constructor and Description |
---|
JadeExecutionControl() |
Modifier and Type | Method and Description |
---|---|
org.w3c.dom.Document |
getAgState(java.lang.String agName)
Gets the agent state (beliefs, intentions, plans, ...)
as an XML document
|
RuntimeServicesInfraTier |
getRuntimeServices()
Gets an object with infrastructure runtime services
|
ExecutionControl |
getUserControl() |
void |
informAgToPerformCycle(java.lang.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() |
private org.w3c.dom.Document |
waitState() |
aclPerformativeToKqml, addAllAgsAsReceivers, ask, broadcast, doDelete, incReplyWithId, isRunning, jasonToACL, kqmlToACL, putConversationId, sendMsg
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
public static java.lang.String controllerOntology
private ExecutionControl userControl
private java.util.concurrent.ExecutorService executor
private org.w3c.dom.Document state
private java.lang.Object syncWaitState
public void setup()
setup
in class jade.core.Agent
protected void takeDown()
takeDown
in class jade.core.Agent
public ExecutionControl getUserControl()
public void informAgToPerformCycle(java.lang.String agName, int cycle)
ExecutionControlInfraTier
informAgToPerformCycle
in interface ExecutionControlInfraTier
public void informAllAgsToPerformCycle(int cycle)
ExecutionControlInfraTier
informAllAgsToPerformCycle
in interface ExecutionControlInfraTier
public org.w3c.dom.Document getAgState(java.lang.String agName)
ExecutionControlInfraTier
getAgState
in interface ExecutionControlInfraTier
private org.w3c.dom.Document waitState()
public RuntimeServicesInfraTier getRuntimeServices()
ExecutionControlInfraTier
getRuntimeServices
in interface ExecutionControlInfraTier