public class TpPort extends Object
| Modifier and Type | Field and Description | 
|---|---|
static int | 
MAX_PORT  | 
static int | 
MIN_PORT  | 
| Modifier | Constructor and Description | 
|---|---|
protected  | 
TpPort(int value)
Constructs a new TpPort. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
equals(Object obj)  | 
int | 
hashCode()  | 
int | 
toInt()
Returns the integer value for this transport port. 
 | 
String | 
toString()  | 
static TpPort | 
tpPort(int value)
Converts an integer into a TpPort. 
 | 
public static final int MAX_PORT
public static final int MIN_PORT
protected TpPort(int value)
value - the transport layer portpublic static TpPort tpPort(int value)
value - an integer representing the transport layer portIllegalArgumentException - if the value is invalidpublic int toInt()