@Deprecated class WhitePages<AT extends Agent> extends Object
The white page system has also the role to compute an unique identifier for each agent.
Constructor and Description |
---|
WhitePages()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
(package private) AT |
getAgent(AgentIdentifier id)
Deprecated.
Replies the agent that corresponds to the specified identifier.
|
AgentIdentifier[] |
getAllAgentIdentifiers()
Deprecated.
Replies the list of the identifiers of the registered agents.
|
(package private) Collection<AT> |
getAllAgents()
Deprecated.
Replies all the agents.
|
(package private) AgentIdentifier |
getId(AT a)
Deprecated.
Replies the identifier of the specified agent.
|
void |
register(AgentIdentifier id,
AT a)
Deprecated.
Register an agent and give it the specified identifier.
|
void |
register(AT a)
Deprecated.
Register an agent and compute its identifier.
|
int |
size()
Deprecated.
Replies the count of registered agents.
|
AT |
unregister(AgentIdentifier id)
Deprecated.
Unregister an agent.
|
public void register(AT a)
public void register(AgentIdentifier id, AT a)
public AT unregister(AgentIdentifier id)
public int size()
public AgentIdentifier[] getAllAgentIdentifiers()
Collection<AT> getAllAgents()
AT getAgent(AgentIdentifier id)
AgentIdentifier getId(AT a)
Copyright © 2003-2013 Arakhnê.org Members. All rights reserved under LGPL license terms.