springs.rns
Class AgentInformation
java.lang.Object
|
+--springs.rns.AgentInformation
- All Implemented Interfaces:
- java.io.Serializable
- public class AgentInformation
- extends java.lang.Object
- implements java.io.Serializable
Information needed to get the address of an agent.
- Author:
- Raquel Trillo Lado
- See Also:
- Serialized Form
Constructor Summary |
AgentInformation(java.lang.String name,
java.util.Collection locationServers)
Constructor. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
_name
private java.lang.String _name
_locationServers
private java.util.Collection _locationServers
AgentInformation
public AgentInformation(java.lang.String name,
java.util.Collection locationServers)
- Constructor.
- Parameters:
name
- the name of an agentlocationServers
- the context which trakes the agent
getName
public java.lang.String getName()
getLocationServers
public java.util.Collection getLocationServers()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object