public final class Dot11SupportedOperatingClassesElement extends Dot11InformationElement
1 1 1 1-252
+-----------------------+-----------------------+-----------------------+-------------------
| Element ID | Length |Current Operating Class| Operating Classes
+-----------------------+-----------------------+-----------------------+-------------------
Element ID: 59
The Supported Operating Classes element is used by a STA to advertise the operating classes that
it is capable of operating with in this country.
The value of the Length field of the Supported Operating Classes element is between 2 and 253.
The Current Operating Class octet indicates the operating class in use for transmission and
reception. The Operating Classes field lists in ascending order all operating classes that the
STA is capable of operating with in this country.| Modifier and Type | Class and Description |
|---|---|
static class |
Dot11SupportedOperatingClassesElement.Builder |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
Dot11SupportedOperatingClassesElement.Builder |
getBuilder() |
byte |
getCurrentOperatingClass() |
int |
getCurrentOperatingClassAsInt() |
byte[] |
getOperatingClasses() |
byte[] |
getRawData() |
int |
hashCode() |
int |
length() |
static Dot11SupportedOperatingClassesElement |
newInstance(byte[] rawData,
int offset,
int length)
A static factory method.
|
java.lang.String |
toString() |
java.lang.String |
toString(java.lang.String indent) |
getElementId, getLength, getLengthAsIntpublic static Dot11SupportedOperatingClassesElement newInstance(byte[] rawData, int offset, int length) throws IllegalRawDataException
ByteArrays.validateBounds(byte[], int, int),
which may throw exceptions undocumented here.rawData - rawDataoffset - offsetlength - lengthIllegalRawDataException - if parsing the raw data fails.public byte getCurrentOperatingClass()
public int getCurrentOperatingClassAsInt()
public byte[] getOperatingClasses()
public int length()
length in class Dot11InformationElementpublic byte[] getRawData()
getRawData in class Dot11InformationElementpublic Dot11SupportedOperatingClassesElement.Builder getBuilder()
public int hashCode()
hashCode in class Dot11InformationElementpublic boolean equals(java.lang.Object obj)
equals in class Dot11InformationElementpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String toString(java.lang.String indent)
indent - indentCopyright © 2011 - 2018 Pcap4J.org. All rights reserved.