|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmassim.framework.DefaultAgentManager
public abstract class DefaultAgentManager
This class provides some reasonable defaults for concurrentCreateAgent and concurrentGetAction, by delegating them to their blocking siblings using a new thread.
Constructor Summary | |
---|---|
DefaultAgentManager()
|
Method Summary | |
---|---|
java.util.concurrent.Future<SimulationAgent> |
concurrentCreateAgent(AgentParameter params)
This is the non-blocking version of createAgent. |
void |
start()
Tell the component to start activity. |
void |
stop()
Tell the component to cease activity. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface massim.framework.AgentManager |
---|
createAgent |
Constructor Detail |
---|
public DefaultAgentManager()
Method Detail |
---|
public java.util.concurrent.Future<SimulationAgent> concurrentCreateAgent(AgentParameter params)
AgentManager
concurrentCreateAgent
in interface AgentManager
public void start()
Component
start
in interface Component
public void stop()
Component
stop
in interface Component
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |