lime
Class LimeServerID
java.lang.Object
|
+--lime.LimeServerID
- All Implemented Interfaces:
- java.io.Serializable
- public class LimeServerID
- extends java.lang.Object
- implements java.io.Serializable
Defines the unique identifier of a LimeServer
.
- Version:
- 1.0 alpha
- Author:
- Amy L. Murphy, Gian Pietro Picco
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
LimeServerID
public LimeServerID(java.lang.String id)
throws java.net.UnknownHostException
LimeServerID
public LimeServerID(java.net.InetAddress host)
LimeServerID
public LimeServerID(java.net.InetAddress host,
int port)
getHost
public java.net.InetAddress getHost()
getPort
public int getPort()
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
equals
public boolean equals(java.lang.Object l)
- Overrides:
equals
in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object