|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.almende.eve.state.MemoryStateFactory
public class MemoryStateFactory
Constructor Summary | |
---|---|
MemoryStateFactory()
|
|
MemoryStateFactory(AgentFactory agentFactory,
Map<String,Object> params)
This constructor is called when constructed by the AgentFactory |
Method Summary | |
---|---|
MemoryState |
create(String agentId)
Create a state with given id. |
void |
delete(String agentId)
Delete a state. |
boolean |
exists(String agentId)
Test if a state with given id exists. |
MemoryState |
get(String agentId)
Get state with given id. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MemoryStateFactory(AgentFactory agentFactory, Map<String,Object> params)
agentFactory
- params
- public MemoryStateFactory()
Method Detail |
---|
public MemoryState get(String agentId)
get
in interface StateFactory
agentId
-
public MemoryState create(String agentId) throws Exception
create
in interface StateFactory
agentId
-
Exception
public void delete(String agentId)
delete
in interface StateFactory
agentId
- public boolean exists(String agentId)
exists
in interface StateFactory
agentId
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |