java.lang.Object
org.pcap4j.packet.Dot11InformationElement
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
Dot112040BssCoexistenceElement,Dot11AbstractSupportedRatesElement,Dot11ChannelUsageElement,Dot11DsssParameterSetElement,Dot11ExtendedCapabilitiesElement,Dot11HTCapabilitiesElement,Dot11InterworkingElement,Dot11MeshIdElement,Dot11RequestElement,Dot11SsidElement,Dot11SsidListElement,Dot11SupportedOperatingClassesElement,Dot11VendorSpecificElement
IEEE802.11 Information element
1 1 variable
+----------+----------+-------------
|Element ID| Length | information
+----------+----------+-------------
- Since:
- pcap4j 1.7.0
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Dot11InformationElementIdprivate final byteprivate static final long -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDot11InformationElement(byte[] rawData, int offset, int length, Dot11InformationElementId id) protected -
Method Summary
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
elementId
-
length
private final byte length
-
-
Constructor Details
-
Dot11InformationElement
protected Dot11InformationElement(byte[] rawData, int offset, int length, Dot11InformationElementId id) throws IllegalRawDataException - Parameters:
rawData- rawDataoffset- offsetlength- lengthid- element ID- Throws:
IllegalRawDataException- if parsing the raw data fails.
-
Dot11InformationElement
- Parameters:
builder- builder
-
-
Method Details
-
getElementId
- Returns:
- the element ID
-
getLength
public byte getLength()- Returns:
- the value of the length field.
-
getLengthAsInt
public int getLengthAsInt()- Returns:
- the value of the length field.
-
length
public abstract int length()- Returns:
- the length
-
getRawData
public abstract byte[] getRawData()- Returns:
- the raw data.
-
hashCode
public int hashCode() -
equals
-