パッケージ org.pcap4j.packet
クラス RadiotapDataChannel
- java.lang.Object
-
- org.pcap4j.packet.RadiotapDataChannel
-
- すべての実装されたインタフェース:
Serializable,RadiotapPacket.RadiotapData
public final class RadiotapDataChannel extends Object implements RadiotapPacket.RadiotapData
Radiotap Channel field. Tx/Rx frequency in MHz and flags.
-
-
ネストされたクラスの概要
ネストされたクラス 修飾子とタイプ クラス 説明 static classRadiotapDataChannel.Builder
-
メソッドの概要
すべてのメソッド staticメソッド インスタンス・メソッド concreteメソッド 修飾子とタイプ メソッド 説明 booleanequals(Object obj)RadiotapDataChannel.BuildergetBuilder()booleangetFourthLsbOfFlags()shortgetFrequency()Tx/Rx frequency in MHzintgetFrequencyAsInt()Tx/Rx frequency in MHzbooleangetLsbOfFlags()byte[]getRawData()booleangetSecondLsbOfFlags()booleangetThirdLsbOfFlags()inthashCode()booleanisCck()booleanisDynamicCckOfdm()booleanisFiveGhzSpectrum()booleanisGfsk()booleanisGsm()booleanisHalfRate()booleanisOfdm()booleanisOnlyPassiveScan()booleanisQuarterRate()booleanisStaticTurbo()booleanisTurbo()booleanisTwoGhzSpectrum()intlength()static RadiotapDataChannelnewInstance(byte[] rawData, int offset, int length)A static factory method.StringtoString()StringtoString(String indent)
-
-
-
メソッドの詳細
-
newInstance
public static RadiotapDataChannel 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 RadiotapChannel object.
- 例外:
IllegalRawDataException- if parsing the raw data fails.
-
getFrequency
public short getFrequency()
Tx/Rx frequency in MHz- 戻り値:
- frequency (unit: MHz)
-
getFrequencyAsInt
public int getFrequencyAsInt()
Tx/Rx frequency in MHz- 戻り値:
- frequency (unit: MHz)
-
getLsbOfFlags
public boolean getLsbOfFlags()
- 戻り値:
- true if the LSB of the flags field is set to 1; otherwise false.
-
getSecondLsbOfFlags
public boolean getSecondLsbOfFlags()
- 戻り値:
- true if the second LSB of the flags field is set to 1; otherwise false.
-
getThirdLsbOfFlags
public boolean getThirdLsbOfFlags()
- 戻り値:
- true if the third LSB of the flags field is set to 1; otherwise false.
-
getFourthLsbOfFlags
public boolean getFourthLsbOfFlags()
- 戻り値:
- true if the fourth LSB of the flags field is set to 1; otherwise false.
-
isTurbo
public boolean isTurbo()
- 戻り値:
- turbo
-
isCck
public boolean isCck()
- 戻り値:
- cck
-
isOfdm
public boolean isOfdm()
- 戻り値:
- ofdm
-
isTwoGhzSpectrum
public boolean isTwoGhzSpectrum()
- 戻り値:
- twoGhzSpectrum
-
isFiveGhzSpectrum
public boolean isFiveGhzSpectrum()
- 戻り値:
- fiveGhzSpectrum
-
isOnlyPassiveScan
public boolean isOnlyPassiveScan()
- 戻り値:
- onlyPassiveScan
-
isDynamicCckOfdm
public boolean isDynamicCckOfdm()
- 戻り値:
- dynamicCckOfdm
-
isGfsk
public boolean isGfsk()
- 戻り値:
- gfsk
-
isGsm
public boolean isGsm()
- 戻り値:
- gsm
-
isStaticTurbo
public boolean isStaticTurbo()
- 戻り値:
- staticTurbo
-
isHalfRate
public boolean isHalfRate()
- 戻り値:
- halfRate
-
isQuarterRate
public boolean isQuarterRate()
- 戻り値:
- quarterRate
-
length
public int length()
- 定義:
lengthインタフェース内RadiotapPacket.RadiotapData- 戻り値:
- length
-
getRawData
public byte[] getRawData()
- 定義:
getRawDataインタフェース内RadiotapPacket.RadiotapData- 戻り値:
- raw data
-
getBuilder
public RadiotapDataChannel.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.
-
-