Static Public Member Functions | Private Member Functions | Static Private Member Functions
org.ros.address.InetAddressFactory Class Reference

List of all members.

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)

Detailed Description

Author:
damonkohler@google.com (Damon Kohler)

Definition at line 36 of file InetAddressFactory.java.


Constructor & Destructor Documentation

Definition at line 38 of file InetAddressFactory.java.


Member Function Documentation

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.

Parameters:
host
Returns:
an InetAddress with both an IP and a host set (no further resolving will take place)

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.


The documentation for this class was generated from the following file:


rosjava_core
Author(s):
autogenerated on Wed Aug 26 2015 16:06:50