- java.lang.Object
-
- org.pcap4j.packet.Dot11InformationElement
-
- org.pcap4j.packet.Dot11AbstractSupportedRatesElement
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
Dot11ExtendedSupportedRatesElement,Dot11SupportedRatesElement
public abstract class Dot11AbstractSupportedRatesElement extends Dot11InformationElement
IEEE802.11 abstract Supported Rates element- Since:
- pcap4j 1.7.0
- See Also:
- IEEE802.11, Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDot11AbstractSupportedRatesElement.BssMembershipSelectorstatic classDot11AbstractSupportedRatesElement.Builderstatic interfaceDot11AbstractSupportedRatesElement.Datumstatic classDot11AbstractSupportedRatesElement.Rate
-
Field Summary
Fields Modifier and Type Field Description private java.util.List<Dot11AbstractSupportedRatesElement.BssMembershipSelector>bssMembershipSelectorsprivate java.util.List<Dot11AbstractSupportedRatesElement.Rate>ratesprivate java.util.List<Dot11AbstractSupportedRatesElement.Datum>ratesAndBssMembershipSelectorsprivate static longserialVersionUID
-
Constructor Summary
Constructors Modifier Constructor Description protectedDot11AbstractSupportedRatesElement(byte[] rawData, int offset, int length, Dot11InformationElementId id)protectedDot11AbstractSupportedRatesElement(Dot11AbstractSupportedRatesElement.Builder builder)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.util.List<Dot11AbstractSupportedRatesElement.BssMembershipSelector>getBssMembershipSelectors()abstract Dot11AbstractSupportedRatesElement.BuildergetBuilder()protected abstract java.lang.StringgetElementName()java.util.List<Dot11AbstractSupportedRatesElement.Rate>getRates()byte[]getRawData()inthashCode()intlength()java.lang.StringtoString()java.lang.StringtoString(java.lang.String indent)-
Methods inherited from class org.pcap4j.packet.Dot11InformationElement
getElementId, getLength, getLengthAsInt
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
rates
private final java.util.List<Dot11AbstractSupportedRatesElement.Rate> rates
-
bssMembershipSelectors
private final java.util.List<Dot11AbstractSupportedRatesElement.BssMembershipSelector> bssMembershipSelectors
-
ratesAndBssMembershipSelectors
private final java.util.List<Dot11AbstractSupportedRatesElement.Datum> ratesAndBssMembershipSelectors
-
-
Constructor Detail
-
Dot11AbstractSupportedRatesElement
protected Dot11AbstractSupportedRatesElement(byte[] rawData, int offset, int length, Dot11InformationElementId id) throws IllegalRawDataException- Parameters:
rawData- rawDataoffset- offsetlength- lengthid- id- Throws:
IllegalRawDataException- if parsing the raw data fails.
-
Dot11AbstractSupportedRatesElement
protected Dot11AbstractSupportedRatesElement(Dot11AbstractSupportedRatesElement.Builder builder)
- Parameters:
builder- builder
-
-
Method Detail
-
getRates
public java.util.List<Dot11AbstractSupportedRatesElement.Rate> getRates()
- Returns:
- rates
-
getBssMembershipSelectors
public java.util.List<Dot11AbstractSupportedRatesElement.BssMembershipSelector> getBssMembershipSelectors()
- Returns:
- bssMembershipSelectors
-
length
public int length()
- Specified by:
lengthin classDot11InformationElement- Returns:
- the length
-
getRawData
public byte[] getRawData()
- Specified by:
getRawDatain classDot11InformationElement- Returns:
- the raw data.
-
getBuilder
public abstract Dot11AbstractSupportedRatesElement.Builder getBuilder()
- Returns:
- a new Builder object populated with this object's fields.
-
hashCode
public int hashCode()
- Overrides:
hashCodein classDot11InformationElement
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classDot11InformationElement
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
toString
public java.lang.String toString(java.lang.String indent)
- Parameters:
indent- indent- Returns:
- the string representation of this object.
-
getElementName
protected abstract java.lang.String getElementName()
- Returns:
- element name
-
-