Class Dot11SsidListElement
java.lang.Object
org.pcap4j.packet.Dot11InformationElement
org.pcap4j.packet.Dot11SsidListElement
- All Implemented Interfaces:
Serializable
IEEE802.11 SSID List element
1 1 variable
+----------+----------+-------------
|Element ID| Length | SSID List
+----------+----------+-------------
Element ID: 84
The SSID List field is a list of SSID elements, each including the element ID, length field and
SSID information field for which the STA is requesting information.- Since:
- pcap4j 1.7.0
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateDot11SsidListElement(byte[] rawData, int offset, int length) private -
Method Summary
Modifier and TypeMethodDescriptionbooleanbyte[]inthashCode()intlength()static Dot11SsidListElementnewInstance(byte[] rawData, int offset, int length) A static factory method.toString()Methods inherited from class Dot11InformationElement
getElementId, getLength, getLengthAsInt
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
ssidList
-
-
Constructor Details
-
Dot11SsidListElement
- Parameters:
rawData- rawDataoffset- offsetlength- length- Throws:
IllegalRawDataException- if parsing the raw data fails.
-
Dot11SsidListElement
- Parameters:
builder- builder
-
-
Method Details
-
newInstance
public static Dot11SsidListElement newInstance(byte[] rawData, int offset, int length) throws IllegalRawDataException A static factory method. This method validates the arguments byByteArrays.validateBounds(byte[], int, int), which may throw exceptions undocumented here.- Parameters:
rawData- rawDataoffset- offsetlength- length- Returns:
- a new Dot11SsidListElement object.
- Throws:
IllegalRawDataException- if parsing the raw data fails.
-
getSsidList
- Returns:
- ssidList
-
length
public int length()- Specified by:
lengthin classDot11InformationElement- Returns:
- the length
-
getRawData
public byte[] getRawData()- Specified by:
getRawDatain classDot11InformationElement- Returns:
- the raw data.
-
getBuilder
- Returns:
- a new Builder object populated with this object's fields.
-
hashCode
public int hashCode()- Overrides:
hashCodein classDot11InformationElement
-
equals
- Overrides:
equalsin classDot11InformationElement
-
toString
-
toString
-