public class ASynchTimeTestAgent extends SimulationAgent
SimulationService
.RemoteStarterAgent
.Modifier and Type | Class and Description |
---|---|
class |
ASynchTimeTestAgent.SynchTimeGUI
The Class SynchTimeGUI.
|
myEnvironmentModel, mySensor
Constructor and Description |
---|
ASynchTimeTestAgent() |
Modifier and Type | Method and Description |
---|---|
protected void |
afterMove() |
protected void |
beforeMove() |
void |
onEnvironmentStimulus()
This method is called if a stimulus from the outside reached this agent.
|
void |
setMigration(jade.core.Location newLocation)
This method will be used by the ServiceActuator (class) to inform
this agent about its new migration location.
|
void |
setPauseSimulation(boolean isPauseSimulation)
This method will be used by the ServiceActuator (class) to inform
that the simulation is paused or not.
|
protected void |
setup() |
protected void |
takeDown() |
addSimulationServiceListener, afterClone, beforeClone, checkAndActOnEnvironmentChanges, deregisterDFService, findAgentsByServiceType, getEnvironmentModelFromSimulationService, onEnvironmentNotification, registerDFService, removeSimulationServiceListener, sendAgentNotification, sendDisplayAgentNotification, sendManagerNotification, sensorPlugIn, sensorPlugOut, setEnvironmentModel, setMyStimulusAnswer, setNotification
addBehaviour, blockingReceive, blockingReceive, blockingReceive, blockingReceive, changeStateTo, clean, createMessageQueue, doActivate, doClone, doDelete, doMove, doSuspend, doTimeOut, doWait, doWait, doWake, getAgentState, getAID, getAID, getAMS, getArguments, getBehavioursCnt, getBootProperties, getContainerController, getContentManager, getCurQueueSize, getDefaultDF, getExecutedBehavioursCnt, getHap, getHelper, getLocalName, getName, getO2AInterface, getO2AObject, getPostedMessagesCnt, getProperty, getQueueSize, getReceivedMessagesCnt, getState, here, isAlive, isRestarting, join, notifyChangeBehaviourState, notifyRestarted, postMessage, putBack, putO2AObject, receive, receive, registerO2AInterface, 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
doDelete, getAID
protected void setup()
setup
in class SimulationAgent
protected void takeDown()
takeDown
in class SimulationAgent
protected void beforeMove()
beforeMove
in class SimulationAgent
protected void afterMove()
afterMove
in class SimulationAgent
public void onEnvironmentStimulus()
SimulationAgent
onEnvironmentStimulus
in class SimulationAgent
public void setPauseSimulation(boolean isPauseSimulation)
ServiceSensorInterface
isPauseSimulation
- the new pause simulationpublic void setMigration(jade.core.Location newLocation)
ServiceSensorInterface
newLocation
- the new Location for the migration