- All Implemented Interfaces:
Serializable,Comparable<IpVersion>
- Since:
- pcap4j 0.9.1
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.pcap4j.packet.namednumber.NamedNumber
equals, hashCode, name, toString, value, valueAsString
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
IPV4
IPv4: 4 -
ST
ST: 5 -
IPV6
IPv6: 6 -
TP_IX
TP/IX: 7 -
PIP
PIP: 8 -
TUBA
TUBA: 9 -
registry
-
-
Constructor Details
-
IpVersion
- Parameters:
value- valuename- name
-
-
Method Details
-
getInstance
- Parameters:
value- value- Returns:
- a IpVersion object.
-
register
- Parameters:
version- version- Returns:
- a IpVersion object.
-
compareTo
- Specified by:
compareToin interfaceComparable<IpVersion>- Specified by:
compareToin classNamedNumber<Byte,IpVersion>
-