org.jdesktop.wonderland.client.comms
Class WonderlandServerInfo

java.lang.Object
  extended by org.jdesktop.wonderland.client.comms.WonderlandServerInfo

public class WonderlandServerInfo
extends java.lang.Object

All data to uniquely identify a servre

Author:
paulby

Constructor Summary
WonderlandServerInfo(java.lang.String hostname, int sgsPort)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getHostname()
          Return the hostname for this server
 int getSgsPort()
          Return the darkstar port for this server
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WonderlandServerInfo

public WonderlandServerInfo(java.lang.String hostname,
                            int sgsPort)
Method Detail

getHostname

public java.lang.String getHostname()
Return the hostname for this server

Returns:
the hostname

getSgsPort

public int getSgsPort()
Return the darkstar port for this server

Returns:
the sgs port

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object


Open Wonderland - http://openwonderland.org