net.sf.sail.common.persistance.memory
Class MemoryPersistenceImpl
java.lang.Object
net.sf.sail.common.persistance.memory.MemoryPersistenceImpl
- All Implemented Interfaces:
- AgentService
public class MemoryPersistenceImpl
- extends java.lang.Object
- implements AgentService
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MemoryPersistenceImpl
public MemoryPersistenceImpl()
getAgentsInRole
public AgentSet getAgentsInRole(Role role)
- Description copied from interface:
AgentService
- This should return the agents that are currently active on this session
- Specified by:
getAgentsInRole
in interface AgentService
- Returns:
getSock
public <T> ISock<T> getSock(Rim<T> rim,
IAgent agent)
throws UnsupportedRimShapeException
- Specified by:
getSock
in interface AgentService
- Throws:
UnsupportedRimShapeException
addAgent
protected void addAgent(MemoryAgent agent)
- Parameters:
agent
-
getAgentsOfUser
public AgentSet getAgentsOfUser(User user)
- Specified by:
getAgentsOfUser
in interface AgentService
dump
public void dump(SessionContext session,
java.io.PrintStream out)
- Dump to out in SSDIF representation.
- Specified by:
dump
in interface AgentService
createAgent
public IAgent createAgent(Role role)
- Specified by:
createAgent
in interface AgentService
Copyright © 2004-2008 TELS Center. All Rights Reserved.