Static Public Member Functions | |
static InetAddress | newFromHostString (String host) |
static InetAddress | newLoopback () |
static InetAddress | newNonLoopback () |
Private Member Functions | |
InetAddressFactory () | |
Static Private Member Functions | |
static Collection< InetAddress > | getAllInetAddressByName (String host) |
static Collection< InetAddress > | getAllInetAddresses () |
static boolean | isIpv4 (InetAddress address) |
Definition at line 36 of file InetAddressFactory.java.
org.ros.address.InetAddressFactory.InetAddressFactory | ( | ) | [inline, private] |
Definition at line 38 of file InetAddressFactory.java.
static Collection<InetAddress> org.ros.address.InetAddressFactory.getAllInetAddressByName | ( | String | host | ) | [inline, static, private] |
Definition at line 76 of file InetAddressFactory.java.
static Collection<InetAddress> org.ros.address.InetAddressFactory.getAllInetAddresses | ( | ) | [inline, static, private] |
Definition at line 46 of file InetAddressFactory.java.
static boolean org.ros.address.InetAddressFactory.isIpv4 | ( | InetAddress | address | ) | [inline, static, private] |
Definition at line 42 of file InetAddressFactory.java.
static InetAddress org.ros.address.InetAddressFactory.newFromHostString | ( | String | host | ) | [inline, static] |
Creates an InetAddress with both an IP and a host set so that no further resolving will take place.
If an IP address string is specified, this method ensures that it will be used in place of a host name.
If a host name other than
Address.LOCALHOST
is specified, this method trys to find a non-loopback IP associated with the supplied host name.
If the specified host name is
Address.LOCALHOST
, this method returns a loopback address.
host |
Definition at line 108 of file InetAddressFactory.java.
static InetAddress org.ros.address.InetAddressFactory.newLoopback | ( | ) | [inline, static] |
Definition at line 136 of file InetAddressFactory.java.
static InetAddress org.ros.address.InetAddressFactory.newNonLoopback | ( | ) | [inline, static] |
Definition at line 66 of file InetAddressFactory.java.