Title:FreeOxy project
Description: This class represents a host in the FreeOxy network. I'm assuming that two different ports on the same IP address are treated as two different hosts. A wrapper class should be able to modify this if the need arises.
Copyright: Copyright (c) 2003
Company:
Constructor Detail |
public Host(java.lang.String ipAddr, int port)
ipAddr
- port
- Method Detail |
java.lang.String getIPAddress()
int getPort()
public java.lang.String toString()
public int compareTo(java.lang.Object host)
host
- public boolean equals(Host host)
host
-