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 |
rolesToAgents
java.util.Map<Role,AgentSet<IAgent>> rolesToAgents
socks
java.util.Map<MemoryPersistenceImpl.SockKey,ISock> socks
usersToAgents
java.util.Map<User,AgentSet<IAgent>> usersToAgents
rimsToAgents
java.util.Map<Rim,AgentSet<IAgent>> rimsToAgents
curnits
static java.util.List<Curnit> curnits
pods
static java.util.List<Pod> pods
MemoryPersistenceImpl
public MemoryPersistenceImpl()
getAgentsInRole
public AgentSet<IAgent> getAgentsInRole(Role role)
- Specified by:
getAgentsInRole in interface AgentService
getSock
public ISock getSock(Rim rim,
IAgent agent)
throws UnsupportedRimShapeException
- Specified by:
getSock in interface AgentService
- Throws:
UnsupportedRimShapeException
addAgent
public void addAgent(IAgent agent)
- Specified by:
addAgent in interface AgentService
- Parameters:
agent -
getKnownRoles
java.lang.String[] getKnownRoles()
getAgentsOfUser
public AgentSet<IAgent> 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
Copyright 2004-2004-2006 TELS Center. All Rights Reserved.