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, java.io.Serializable, java.lang.Runnable

public class JadeExecutionControl
extends JadeAg
implements ExecutionControlInfraTier
Concrete execution control implementation for Jade infrastructure.
See Also:
Serialized Form
  • Nested Class Summary

    Nested classes/interfaces inherited from class jade.core.Agent

    jade.core.Agent.Interrupted
  • Field Summary

    Fields
    Modifier and Type Field 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  

    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

    Constructors
    Constructor Description
    JadeExecutionControl()  
  • Method Summary

    Modifier and Type Method Description
    org.w3c.dom.Document getAgState​(java.lang.String agName)
    Gets the agent state (beliefs, intentions, plans, ...) as an XML document
    RuntimeServices 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()  

    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • controllerOntology

      public static java.lang.String controllerOntology
    • userControl

      private ExecutionControl userControl
    • executor

      private java.util.concurrent.ExecutorService executor
    • state

      private org.w3c.dom.Document state
    • syncWaitState

      private java.lang.Object syncWaitState
  • Constructor Details

    • JadeExecutionControl

      public JadeExecutionControl()
  • Method Details