パッケージ org.pcap4j.packet
クラス RadiotapDataMcs
- java.lang.Object
-
- org.pcap4j.packet.RadiotapDataMcs
-
- すべての実装されたインタフェース:
Serializable
,RadiotapPacket.RadiotapData
public final class RadiotapDataMcs extends Object implements RadiotapPacket.RadiotapData
Radiotap MCS field.
-
-
ネストされたクラスの概要
ネストされたクラス 修飾子とタイプ クラス 説明 static class
RadiotapDataMcs.Bandwidth
static class
RadiotapDataMcs.Builder
static class
RadiotapDataMcs.HtFormat
-
メソッドの概要
すべてのメソッド staticメソッド インスタンス・メソッド concreteメソッド 修飾子とタイプ メソッド 説明 boolean
equals(Object obj)
RadiotapDataMcs.Bandwidth
getBandwidth()
RadiotapDataMcs.Builder
getBuilder()
RadiotapFecType
getFecType()
RadiotapDataMcs.HtFormat
getHtFormat()
byte
getMcsRateIndex()
int
getMcsRateIndexAsInt()
boolean
getNessLsb()
boolean
getNessMsb()
byte
getNumStbcStreams()
int
getNumStbcStreamsAsInt()
byte[]
getRawData()
int
hashCode()
boolean
isBandwidthKnown()
boolean
isFecTypeKnown()
boolean
isGuardIntervalKnown()
boolean
isHtFormatKnown()
boolean
isMcsIndexKnown()
boolean
isNessKnown()
boolean
isShortGuardInterval()
boolean
isStbcKnown()
int
length()
static RadiotapDataMcs
newInstance(byte[] rawData, int offset, int length)
A static factory method.String
toString()
String
toString(String indent)
-
-
-
メソッドの詳細
-
newInstance
public static RadiotapDataMcs newInstance(byte[] rawData, int offset, int length) throws IllegalRawDataException
A static factory method. This method validates the arguments byByteArrays.validateBounds(byte[], int, int)
, which may throw exceptions undocumented here.- パラメータ:
rawData
- rawDataoffset
- offsetlength
- length- 戻り値:
- a new RadiotapMcs object.
- 例外:
IllegalRawDataException
- if parsing the raw data fails.
-
isBandwidthKnown
public boolean isBandwidthKnown()
- 戻り値:
- true if the bandwidth is known; false otherwise.
-
isMcsIndexKnown
public boolean isMcsIndexKnown()
- 戻り値:
- true if the MCS index is known; false otherwise.
-
isGuardIntervalKnown
public boolean isGuardIntervalKnown()
- 戻り値:
- true if the guard interval is known; false otherwise.
-
isHtFormatKnown
public boolean isHtFormatKnown()
- 戻り値:
- true if the HT format is known; false otherwise.
-
isFecTypeKnown
public boolean isFecTypeKnown()
- 戻り値:
- true if the FEC type is known; false otherwise.
-
isStbcKnown
public boolean isStbcKnown()
- 戻り値:
- true if the STBC is known; false otherwise.
-
isNessKnown
public boolean isNessKnown()
- 戻り値:
- true if the Ness is known; false otherwise.
-
getNessMsb
public boolean getNessMsb()
- 戻り値:
- true if the MSB of Ness is 1; false otherwise.
-
getBandwidth
public RadiotapDataMcs.Bandwidth getBandwidth()
- 戻り値:
- bandwidth
-
isShortGuardInterval
public boolean isShortGuardInterval()
- 戻り値:
- true if the guard interval is short; false otherwise.
-
getHtFormat
public RadiotapDataMcs.HtFormat getHtFormat()
- 戻り値:
- htFormat
-
getFecType
public RadiotapFecType getFecType()
- 戻り値:
- fecType
-
getNumStbcStreams
public byte getNumStbcStreams()
- 戻り値:
- numStbcStreams
-
getNumStbcStreamsAsInt
public int getNumStbcStreamsAsInt()
- 戻り値:
- numStbcStreams
-
getNessLsb
public boolean getNessLsb()
- 戻り値:
- true if LSB of Ness is 1; false otherwise.
-
getMcsRateIndex
public byte getMcsRateIndex()
- 戻り値:
- mcsRateIndex
-
getMcsRateIndexAsInt
public int getMcsRateIndexAsInt()
- 戻り値:
- mcsRateIndex
-
length
public int length()
- 定義:
length
インタフェース内RadiotapPacket.RadiotapData
- 戻り値:
- length
-
getRawData
public byte[] getRawData()
- 定義:
getRawData
インタフェース内RadiotapPacket.RadiotapData
- 戻り値:
- raw data
-
getBuilder
public RadiotapDataMcs.Builder getBuilder()
- 戻り値:
- a new Builder object populated with this object's fields.
-
toString
public String toString(String indent)
- 定義:
toString
インタフェース内RadiotapPacket.RadiotapData
- パラメータ:
indent
- indent- 戻り値:
- String representation of this object.
-
-