public final class Dot11SupportedOperatingClassesElement extends Dot11InformationElement
1 1 1 1-252 +-----------------------+-----------------------+-----------------------+------------------- | Element ID | Length |Current Operating Class| Operating Classes +-----------------------+-----------------------+-----------------------+------------------- Element ID: 59The 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(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.
|
String |
toString() |
String |
toString(String indent) |
getElementId, getLength, getLengthAsInt
public 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 Dot11InformationElement
public byte[] getRawData()
getRawData
in class Dot11InformationElement
public Dot11SupportedOperatingClassesElement.Builder getBuilder()
public int hashCode()
hashCode
in class Dot11InformationElement
public boolean equals(Object obj)
equals
in class Dot11InformationElement
Copyright © 2011–2019 Pcap4J.org. All rights reserved.