|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgridiq.simulation.JADEAgentManager
public class JADEAgentManager
A concrete implementation of AgentManager to support the JADE agent
platform.
| Constructor Summary | |
|---|---|
JADEAgentManager()
|
|
| Method Summary | |
|---|---|
void |
close()
Shuts down the agent platform and destroys all agents. |
void |
initialise()
Initialises the agent platform and instantiates all agents required for the simulation. |
void |
sendResultToAgent(BusResult result)
Notifies an agent of a simulation result for its bus. |
void |
startAgent(java.lang.String agentClass,
Bus bus)
Start an agent of a given class with a reference to a given bus. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JADEAgentManager()
| Method Detail |
|---|
public void startAgent(java.lang.String agentClass,
Bus bus)
throws jade.wrapper.StaleProxyException
AgentManager
startAgent in interface AgentManageragentClass - The class of the agent.bus - The bus the agent controls.
jade.wrapper.StaleProxyException
public void sendResultToAgent(BusResult result)
throws jade.wrapper.StaleProxyException
AgentManager
sendResultToAgent in interface AgentManagerresult - The simulation result for a bus.
jade.wrapper.StaleProxyException
public void initialise()
throws java.io.IOException
AgentManager
initialise in interface AgentManagerjava.io.IOExceptionpublic void close()
AgentManager
close in interface AgentManager
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||