java.lang.Object
org.pcap4j.packet.Dot11InformationElement.Builder
org.pcap4j.packet.Dot112040BssCoexistenceElement.Builder
- All Implemented Interfaces:
LengthBuilder<Dot11InformationElement>
- Enclosing class:
Dot112040BssCoexistenceElement
public static final class Dot112040BssCoexistenceElement.Builder
extends Dot11InformationElement.Builder
- Since:
- pcap4j 1.7.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate booleanprivate booleanprivate booleanprivate booleanprivate booleanprivate booleanprivate booleanprivate boolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbit5(boolean bit5) bit6(boolean bit6) bit7(boolean bit7) build()correctLengthAtBuild(boolean correctLengthAtBuild) fortyMhzIntolerant(boolean fortyMhzIntolerant) informationRequested(boolean informationRequested) length(byte length) obssScanningExemptionGranted(boolean obssScanningExemptionGranted) obssScanningExemptionRequested(boolean obssScanningExemptionRequested) twentyMhzBssWidthRequested(boolean twentyMhzBssWidthRequested) Methods inherited from class org.pcap4j.packet.Dot11InformationElement.Builder
elementId, getCorrectLengthAtBuild
-
Field Details
-
informationRequested
private boolean informationRequested -
fortyMhzIntolerant
private boolean fortyMhzIntolerant -
twentyMhzBssWidthRequested
private boolean twentyMhzBssWidthRequested -
obssScanningExemptionRequested
private boolean obssScanningExemptionRequested -
obssScanningExemptionGranted
private boolean obssScanningExemptionGranted -
bit5
private boolean bit5 -
bit6
private boolean bit6 -
bit7
private boolean bit7
-
-
Constructor Details
-
Builder
public Builder() -
Builder
- Parameters:
elem- a Dot112040BssCoexistenceElement object.
-
-
Method Details
-
informationRequested
- Parameters:
informationRequested- informationRequested- Returns:
- this Builder object for method chaining.
-
fortyMhzIntolerant
- Parameters:
fortyMhzIntolerant- fortyMhzIntolerant- Returns:
- this Builder object for method chaining.
-
twentyMhzBssWidthRequested
public Dot112040BssCoexistenceElement.Builder twentyMhzBssWidthRequested(boolean twentyMhzBssWidthRequested) - Parameters:
twentyMhzBssWidthRequested- twentyMhzBssWidthRequested- Returns:
- this Builder object for method chaining.
-
obssScanningExemptionRequested
public Dot112040BssCoexistenceElement.Builder obssScanningExemptionRequested(boolean obssScanningExemptionRequested) - Parameters:
obssScanningExemptionRequested- obssScanningExemptionRequested- Returns:
- this Builder object for method chaining.
-
obssScanningExemptionGranted
public Dot112040BssCoexistenceElement.Builder obssScanningExemptionGranted(boolean obssScanningExemptionGranted) - Parameters:
obssScanningExemptionGranted- obssScanningExemptionGranted- Returns:
- this Builder object for method chaining.
-
bit5
- Parameters:
bit5- bit5- Returns:
- this Builder object for method chaining.
-
bit6
- Parameters:
bit6- bit6- Returns:
- this Builder object for method chaining.
-
bit7
- Parameters:
bit7- bit7- Returns:
- this Builder object for method chaining.
-
length
- Overrides:
lengthin classDot11InformationElement.Builder- Parameters:
length- length- Returns:
- this Builder object for method chaining.
-
correctLengthAtBuild
- Specified by:
correctLengthAtBuildin interfaceLengthBuilder<Dot11InformationElement>- Overrides:
correctLengthAtBuildin classDot11InformationElement.Builder- Parameters:
correctLengthAtBuild- correctLengthAtBuild- Returns:
- LengthBuilder
-
build
- Returns:
- a new object.
-