Enum Class GtpV1ExtensionHeaderType.ComprehensionRequirement
java.lang.Object
java.lang.Enum<GtpV1ExtensionHeaderType.ComprehensionRequirement>
org.pcap4j.packet.namednumber.GtpV1ExtensionHeaderType.ComprehensionRequirement
- All Implemented Interfaces:
Serializable, Comparable<GtpV1ExtensionHeaderType.ComprehensionRequirement>, Constable
- Enclosing class:
GtpV1ExtensionHeaderType
public static enum GtpV1ExtensionHeaderType.ComprehensionRequirement
extends Enum<GtpV1ExtensionHeaderType.ComprehensionRequirement>
Comprehension requirement of Extension Header Type (Definition of bits 7 and 8 of the Extension
Header Type)
- Since:
- pcap4j 1.6.6
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionComprehension of this extension header is not required.Comprehension of this extension header is not required.Comprehension of this extension header is required by the Endpoint Receiver but not by an Intermediate Node.Comprehension of this header type is required by recipient (either Endpoint Receiver or Intermediate Node) -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NOT_REQUIRED_SHALL_FORWARD
Comprehension of this extension header is not required. An Intermediate Node shall forward it to any Receiver Endpoint -
NOT_REQUIRED_SHALL_DISCARD
Comprehension of this extension header is not required. An Intermediate Node shall discard the Extension Header Content and not forward it to any Receiver Endpoint. Other extension headers shall be treated independently of this extension header. -
REQUIRED_BY_ENDPOINT
Comprehension of this extension header is required by the Endpoint Receiver but not by an Intermediate Node. An Intermediate Node shall forward the whole field to the Endpoint Receiver. -
REQUIRED_BY_RECIPIENT
Comprehension of this header type is required by recipient (either Endpoint Receiver or Intermediate Node)
-
-
Constructor Details
-
ComprehensionRequirement
private ComprehensionRequirement()
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-