|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.continuent.tungsten.common.network.HostAddress
public class HostAddress
Provides a wrapper on the standard InetAddress that supports extended methods for determining host reachability.
| Constructor Summary | |
|---|---|
HostAddress(java.net.InetAddress address)
Create a new host address on a given InetAddress. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object arg0)
|
byte[] |
getAddress()
|
java.lang.String |
getCanonicalHostName()
|
java.lang.String |
getHostAddress()
|
java.lang.String |
getHostName()
|
java.net.InetAddress |
getInetAddress()
Returns the InetAddress corresponding to this host name. |
int |
hashCode()
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public HostAddress(java.net.InetAddress address)
address - InetAddress to use| Method Detail |
|---|
public java.net.InetAddress getInetAddress()
public boolean equals(java.lang.Object arg0)
equals in class java.lang.ObjectObject.equals(java.lang.Object)public byte[] getAddress()
InetAddress.getAddress()public java.lang.String getCanonicalHostName()
InetAddress.getCanonicalHostName()public java.lang.String getHostAddress()
InetAddress.getCanonicalHostName()public java.lang.String getHostName()
public int hashCode()
hashCode in class java.lang.ObjectObject.hashCode()public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||