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

Field Summary
private  java.util.Collection _locationServers
           
private  java.lang.String _name
           
 
Constructor Summary
AgentInformation(java.lang.String name, java.util.Collection locationServers)
          Constructor.
 
Method Summary
 java.util.Collection getLocationServers()
           
 java.lang.String getName()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_name

private java.lang.String _name

_locationServers

private java.util.Collection _locationServers
Constructor Detail

AgentInformation

public AgentInformation(java.lang.String name,
                        java.util.Collection locationServers)
Constructor.

Parameters:
name - the name of an agent
locationServers - the context which trakes the agent
Method Detail

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