- java.lang.Object
-
- org.pcap4j.packet.namednumber.NamedNumber<java.lang.Byte,GtpV1ExtensionHeaderType>
-
- org.pcap4j.packet.namednumber.GtpV1ExtensionHeaderType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<GtpV1ExtensionHeaderType>
public final class GtpV1ExtensionHeaderType extends NamedNumber<java.lang.Byte,GtpV1ExtensionHeaderType>
GTPv1 Extension Header Type- Since:
- pcap4j 1.6.6
- See Also:
- ETSI TS 129 060 V12.6.0, Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGtpV1ExtensionHeaderType.ComprehensionRequirementComprehension requirement of Extension Header Type (Definition of bits 7 and 8 of the Extension Header Type)
-
Field Summary
Fields Modifier and Type Field Description static GtpV1ExtensionHeaderTypeMBMS_SUPPORT_INDICATIONMBMS support indication: 0000 0001static GtpV1ExtensionHeaderTypeMS_INFO_CHANGE_REPORTING_SUPPORT_INDICATIONMS Info Change Reporting support indication: 0000 0010static GtpV1ExtensionHeaderTypeNO_MORE_EXTENSION_HEADERSNo more extension headers: 0000 0000static GtpV1ExtensionHeaderTypePDCP_PDU_NUMBERPDCP PDU number: 1100 0000private static java.util.Map<java.lang.Byte,GtpV1ExtensionHeaderType>registryprivate static longserialVersionUIDstatic GtpV1ExtensionHeaderTypeSUSPEND_REQUESTSuspend Request: 1100 0001static GtpV1ExtensionHeaderTypeSUSPEND_RESPONSESuspend Response: 1100 0010
-
Constructor Summary
Constructors Constructor Description GtpV1ExtensionHeaderType(java.lang.Byte value, java.lang.String name)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(GtpV1ExtensionHeaderType o)GtpV1ExtensionHeaderType.ComprehensionRequirementgetComprehensionRequirement()static GtpV1ExtensionHeaderTypegetInstance(java.lang.Byte value)static GtpV1ExtensionHeaderTyperegister(GtpV1ExtensionHeaderType type)java.lang.StringvalueAsString()
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
NO_MORE_EXTENSION_HEADERS
public static final GtpV1ExtensionHeaderType NO_MORE_EXTENSION_HEADERS
No more extension headers: 0000 0000
-
MBMS_SUPPORT_INDICATION
public static final GtpV1ExtensionHeaderType MBMS_SUPPORT_INDICATION
MBMS support indication: 0000 0001
-
MS_INFO_CHANGE_REPORTING_SUPPORT_INDICATION
public static final GtpV1ExtensionHeaderType MS_INFO_CHANGE_REPORTING_SUPPORT_INDICATION
MS Info Change Reporting support indication: 0000 0010
-
PDCP_PDU_NUMBER
public static final GtpV1ExtensionHeaderType PDCP_PDU_NUMBER
PDCP PDU number: 1100 0000
-
SUSPEND_REQUEST
public static final GtpV1ExtensionHeaderType SUSPEND_REQUEST
Suspend Request: 1100 0001
-
SUSPEND_RESPONSE
public static final GtpV1ExtensionHeaderType SUSPEND_RESPONSE
Suspend Response: 1100 0010
-
registry
private static final java.util.Map<java.lang.Byte,GtpV1ExtensionHeaderType> registry
-
-
Method Detail
-
getComprehensionRequirement
public GtpV1ExtensionHeaderType.ComprehensionRequirement getComprehensionRequirement()
- Returns:
- a ComprehensionRequirement object.
-
getInstance
public static GtpV1ExtensionHeaderType getInstance(java.lang.Byte value)
- Parameters:
value- value- Returns:
- a GtpV1MessageType object.
-
register
public static GtpV1ExtensionHeaderType register(GtpV1ExtensionHeaderType type)
- Parameters:
type- type- Returns:
- a GtpV1MessageType object.
-
valueAsString
public java.lang.String valueAsString()
- Overrides:
valueAsStringin classNamedNumber<java.lang.Byte,GtpV1ExtensionHeaderType>- Returns:
- a string representation of this value.
-
compareTo
public int compareTo(GtpV1ExtensionHeaderType o)
- Specified by:
compareToin interfacejava.lang.Comparable<GtpV1ExtensionHeaderType>- Specified by:
compareToin classNamedNumber<java.lang.Byte,GtpV1ExtensionHeaderType>
-
-