public class JadeEnvironment extends JadeAg implements EnvironmentInfraTier
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
actionOntology |
static java.lang.String |
perceptionOntology |
Constructor and Description |
---|
JadeEnvironment() |
Modifier and Type | Method and Description |
---|---|
void |
actionExecuted(java.lang.String agName,
Structure actTerm,
boolean success,
java.lang.Object infraData)
called by the user implementation of the environment when the action was executed
|
RuntimeServicesInfraTier |
getRuntimeServices()
Gets an object with infrastructure runtime services
|
void |
informAgsEnvironmentChanged(java.util.Collection<java.lang.String> agentsToNotify)
Sends a message to a set of agents notifying them that the environment has changed.
|
void |
informAgsEnvironmentChanged(java.lang.String... agents)
Sends a message to the given agents notifying them that the environment has changed
(called by the user environment).
|
void |
setup() |
protected void |
takeDown() |
aclToKqml, 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, getAMS, getArguments, getBootProperties, getContainerController, getContentManager, getCurQueueSize, getDefaultDF, getHap, getHelper, getLocalName, getName, getO2AObject, getProperty, getQueueSize, getState, here, isRestarting, join, notifyChangeBehaviourState, notifyRestarted, postMessage, putBack, putO2AObject, receive, receive, removeBehaviour, removeTimer, restartLater, restore, restoreBufferedState, run, send, setArguments, setEnabledO2ACommunication, setGenerateBehaviourEvents, setO2AManager, setQueueSize, waitUntilStarted, write
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isRunning
public static java.lang.String actionOntology
public static java.lang.String perceptionOntology
public void setup()
setup
in class jade.core.Agent
protected void takeDown()
takeDown
in class jade.core.Agent
public void actionExecuted(java.lang.String agName, Structure actTerm, boolean success, java.lang.Object infraData)
EnvironmentInfraTier
actionExecuted
in interface EnvironmentInfraTier
public void informAgsEnvironmentChanged(java.lang.String... agents)
EnvironmentInfraTier
informAgsEnvironmentChanged
in interface EnvironmentInfraTier
public void informAgsEnvironmentChanged(java.util.Collection<java.lang.String> agentsToNotify)
EnvironmentInfraTier
informAgsEnvironmentChanged
in interface EnvironmentInfraTier
public RuntimeServicesInfraTier getRuntimeServices()
EnvironmentInfraTier
getRuntimeServices
in interface EnvironmentInfraTier