- java.lang.Object
-
- org.pcap4j.packet.Dot11InformationElement.Builder
-
- org.pcap4j.packet.Dot11InterworkingElement.Builder
-
- All Implemented Interfaces:
LengthBuilder<Dot11InformationElement>
- Enclosing class:
- Dot11InterworkingElement
public static final class Dot11InterworkingElement.Builder extends Dot11InformationElement.Builder
- Since:
- pcap4j 1.7.0
-
-
Field Summary
Fields Modifier and Type Field Description private Dot11AccessNetworkTypeaccessnetworkTypeprivate booleanasraprivate booleanesrprivate byte[]hessidprivate booleaninternetprivate booleanuesaprivate Dot11VenueInfovenueInfo
-
Constructor Summary
Constructors Modifier Constructor Description Builder()privateBuilder(Dot11InterworkingElement obj)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Dot11InterworkingElement.BuilderaccessnetworkType(Dot11AccessNetworkType accessnetworkType)Dot11InterworkingElement.Builderasra(boolean asra)Dot11InterworkingElementbuild()Dot11InterworkingElement.BuildercorrectLengthAtBuild(boolean correctLengthAtBuild)Dot11InterworkingElement.Builderesr(boolean esr)Dot11InterworkingElement.Builderhessid(byte[] hessid)Dot11InterworkingElement.Builderinternet(boolean internet)Dot11InterworkingElement.Builderlength(byte length)Dot11InterworkingElement.Builderuesa(boolean uesa)Dot11InterworkingElement.BuildervenueInfo(Dot11VenueInfo venueInfo)-
Methods inherited from class org.pcap4j.packet.Dot11InformationElement.Builder
elementId, getCorrectLengthAtBuild
-
-
-
-
Field Detail
-
accessnetworkType
private Dot11AccessNetworkType accessnetworkType
-
internet
private boolean internet
-
asra
private boolean asra
-
esr
private boolean esr
-
uesa
private boolean uesa
-
venueInfo
private Dot11VenueInfo venueInfo
-
hessid
private byte[] hessid
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
private Builder(Dot11InterworkingElement obj)
- Parameters:
obj- a Dot11InterworkingElement object.
-
-
Method Detail
-
accessnetworkType
public Dot11InterworkingElement.Builder accessnetworkType(Dot11AccessNetworkType accessnetworkType)
- Parameters:
accessnetworkType- accessnetworkType- Returns:
- this Builder object for method chaining.
-
internet
public Dot11InterworkingElement.Builder internet(boolean internet)
- Parameters:
internet- internet- Returns:
- this Builder object for method chaining.
-
asra
public Dot11InterworkingElement.Builder asra(boolean asra)
- Parameters:
asra- asra- Returns:
- this Builder object for method chaining.
-
esr
public Dot11InterworkingElement.Builder esr(boolean esr)
- Parameters:
esr- esr- Returns:
- this Builder object for method chaining.
-
uesa
public Dot11InterworkingElement.Builder uesa(boolean uesa)
- Parameters:
uesa- uesa- Returns:
- this Builder object for method chaining.
-
venueInfo
public Dot11InterworkingElement.Builder venueInfo(Dot11VenueInfo venueInfo)
- Parameters:
venueInfo- venueInfo- Returns:
- this Builder object for method chaining.
-
hessid
public Dot11InterworkingElement.Builder hessid(byte[] hessid)
- Parameters:
hessid- hessid- Returns:
- this Builder object for method chaining.
-
length
public Dot11InterworkingElement.Builder length(byte length)
- Overrides:
lengthin classDot11InformationElement.Builder- Parameters:
length- length- Returns:
- this Builder object for method chaining.
-
correctLengthAtBuild
public Dot11InterworkingElement.Builder correctLengthAtBuild(boolean correctLengthAtBuild)
- Specified by:
correctLengthAtBuildin interfaceLengthBuilder<Dot11InformationElement>- Overrides:
correctLengthAtBuildin classDot11InformationElement.Builder- Parameters:
correctLengthAtBuild- correctLengthAtBuild- Returns:
- LengthBuilder
-
build
public Dot11InterworkingElement build()
- Returns:
- a new object.
-
-