- 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
Fields Modifier and Type Field Description private booleanbit5private booleanbit6private booleanbit7private booleanfortyMhzIntolerantprivate booleaninformationRequestedprivate booleanobssScanningExemptionGrantedprivate booleanobssScanningExemptionRequestedprivate booleantwentyMhzBssWidthRequested
-
Constructor Summary
Constructors Modifier Constructor Description Builder()privateBuilder(Dot112040BssCoexistenceElement elem)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Dot112040BssCoexistenceElement.Builderbit5(boolean bit5)Dot112040BssCoexistenceElement.Builderbit6(boolean bit6)Dot112040BssCoexistenceElement.Builderbit7(boolean bit7)Dot112040BssCoexistenceElementbuild()Dot112040BssCoexistenceElement.BuildercorrectLengthAtBuild(boolean correctLengthAtBuild)Dot112040BssCoexistenceElement.BuilderfortyMhzIntolerant(boolean fortyMhzIntolerant)Dot112040BssCoexistenceElement.BuilderinformationRequested(boolean informationRequested)Dot112040BssCoexistenceElement.Builderlength(byte length)Dot112040BssCoexistenceElement.BuilderobssScanningExemptionGranted(boolean obssScanningExemptionGranted)Dot112040BssCoexistenceElement.BuilderobssScanningExemptionRequested(boolean obssScanningExemptionRequested)Dot112040BssCoexistenceElement.BuildertwentyMhzBssWidthRequested(boolean twentyMhzBssWidthRequested)-
Methods inherited from class org.pcap4j.packet.Dot11InformationElement.Builder
elementId, getCorrectLengthAtBuild
-
-
-
-
Field Detail
-
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 Detail
-
Builder
public Builder()
-
Builder
private Builder(Dot112040BssCoexistenceElement elem)
- Parameters:
elem- a Dot112040BssCoexistenceElement object.
-
-
Method Detail
-
informationRequested
public Dot112040BssCoexistenceElement.Builder informationRequested(boolean informationRequested)
- Parameters:
informationRequested- informationRequested- Returns:
- this Builder object for method chaining.
-
fortyMhzIntolerant
public Dot112040BssCoexistenceElement.Builder fortyMhzIntolerant(boolean 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
public Dot112040BssCoexistenceElement.Builder bit5(boolean bit5)
- Parameters:
bit5- bit5- Returns:
- this Builder object for method chaining.
-
bit6
public Dot112040BssCoexistenceElement.Builder bit6(boolean bit6)
- Parameters:
bit6- bit6- Returns:
- this Builder object for method chaining.
-
bit7
public Dot112040BssCoexistenceElement.Builder bit7(boolean bit7)
- Parameters:
bit7- bit7- Returns:
- this Builder object for method chaining.
-
length
public Dot112040BssCoexistenceElement.Builder length(byte length)
- Overrides:
lengthin classDot11InformationElement.Builder- Parameters:
length- length- Returns:
- this Builder object for method chaining.
-
correctLengthAtBuild
public Dot112040BssCoexistenceElement.Builder correctLengthAtBuild(boolean correctLengthAtBuild)
- Specified by:
correctLengthAtBuildin interfaceLengthBuilder<Dot11InformationElement>- Overrides:
correctLengthAtBuildin classDot11InformationElement.Builder- Parameters:
correctLengthAtBuild- correctLengthAtBuild- Returns:
- LengthBuilder
-
build
public Dot112040BssCoexistenceElement build()
- Returns:
- a new object.
-
-