public class ServiceSensorManager
extends java.lang.Object
SimulationManagerAgent. It transfers information about environment
changes caused by SimulationAgent and notifications in relation to the
environment.SimulationManagerAgent| Modifier and Type | Field and Description |
|---|---|
protected SimulationManagerAgent |
myManager |
| Constructor and Description |
|---|
ServiceSensorManager(SimulationManagerAgent agent)
Instantiates a new service sensor manager.
|
| Modifier and Type | Method and Description |
|---|---|
void |
notifyManager(EnvironmentNotification notification)
Notifies a manager agent about things that happen in the environment.
|
void |
notifyPauseSimulation(boolean isPauseSimulation)
Notifies the manager to pause the simulation.
|
void |
putAgentAnswers(java.util.Hashtable<jade.core.AID,java.lang.Object> agentAnswers,
boolean aSynchron)
Puts the agent answers to the manager.
|
protected SimulationManagerAgent myManager
public ServiceSensorManager(SimulationManagerAgent agent)
agent - the agentpublic void putAgentAnswers(java.util.Hashtable<jade.core.AID,java.lang.Object> agentAnswers,
boolean aSynchron)
agentAnswers - the agent answersaSynchron - true, if synchronouslypublic void notifyManager(EnvironmentNotification notification)
notification - the notificationpublic void notifyPauseSimulation(boolean isPauseSimulation)
isPauseSimulation - the is pause simulation