|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectibis.util.IPUtils
Some utilities that deal with IP addresses.
Method Summary | |
static java.net.InetAddress |
getAlternateLocalHostAddress()
Returns the InetAddress associated with the
local host. |
static java.net.InetAddress |
getLocalHostAddress()
Returns the InetAddress associated with the
local host. |
static boolean |
isExternalAddress(java.net.InetAddress address)
Returns true if the specified address is an external address. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static boolean isExternalAddress(java.net.InetAddress address)
address
- the specified address.
true
if addr
is an external address.public static java.net.InetAddress getLocalHostAddress()
InetAddress
associated with the
local host. If the ibis.util.ip.address property is specified
and set to a specific IP address, that address is used.
public static java.net.InetAddress getAlternateLocalHostAddress()
InetAddress
associated with the
local host. If the ibis.util.ip.alt_address property is specified
and set to a specific IP address, that address is used.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |