The UtilityAgent is used to affect a running Multi-Agent system from the application.
Since the application does not have direct access to any agents, the UtilityAgent will do some tasks here.
Depending on the start-arguments for this Agent the tasks are as follows:
- Platform.UTILITY_AGENT_JOB#OpernDF: will send a message in order to show the DF
- Platform.UTILITY_AGENT_JOB#StartAgent: will try to start an agent
For this case the start argument needs to be extend:
index[0] =
index[1] =
index[2] = the agent name
index[3] = the agent class name
index[4] = an Object[] of arguments
index[5] = the container name, where the agent is to be hosted
- Platform.UTILITY_AGENT_JOB#ShutdownPlatform: will send a message to the AMS in order to shutdown the whole platform
- Platform.UTILITY_AGENT_JOB#OpenLoadMonitor: will send a message to show the LoadMonitor
- Platform.UTILITY_AGENT_JOB#OpenThreadMonitor: will send a message to show the ThreadMonitor
The setup-method of the agent will evaluate the start argument and will add the corresponding behaviour.