- All Implemented Interfaces:
Serializable,Comparable<Port>
Transport layer Port
- Since:
- pcap4j 1.7.5
- See Also:
-
Constructor Details
-
Port
- Parameters:
value- valuename- name
-
-
Method Details
-
valueAsInt
public int valueAsInt()- Returns:
- the value of this object as an int.
-
valueAsString
- Overrides:
valueAsStringin classNamedNumber<Short,Port> - Returns:
- a string representation of this value.
-
compareTo
- Specified by:
compareToin interfaceComparable<Port>- Specified by:
compareToin classNamedNumber<Short,Port>
-