This project has retired. For details please refer to its Attic page.
Apache REEF: Org.Apache.REEF.Wake.Util.NetworkUtils Class Reference
Apache REEF  0.15.0
Retainable Evaluator Execution Framework
Static Public Member Functions | Properties | List of all members
Org.Apache.REEF.Wake.Util.NetworkUtils Class Reference

Static Public Member Functions

static int GenerateRandomPort (int low, int high)
 Generate a random port between low (inclusive) and high (exclusive) More...
 

Properties

static IPAddress LocalIPAddress [get]
 Returns the first usable IP Address for the machine. More...
 

Member Function Documentation

static int Org.Apache.REEF.Wake.Util.NetworkUtils.GenerateRandomPort ( int  low,
int  high 
)
inlinestatic

Generate a random port between low (inclusive) and high (exclusive)

Parameters
lowThe inclusive lower bound of the of the port range
highThe exclusive upper bound of the port range
Returns
The randomly generated port

Property Documentation

IPAddress Org.Apache.REEF.Wake.Util.NetworkUtils.LocalIPAddress
staticget

Returns the first usable IP Address for the machine.

Returns
The machine's local IP Address

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