パッケージ 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 class
RadiotapDataChannel.Builder
-
メソッドの概要
すべてのメソッド staticメソッド インスタンス・メソッド concreteメソッド 修飾子とタイプ メソッド 説明 boolean
equals(Object obj)
RadiotapDataChannel.Builder
getBuilder()
boolean
getFourthLsbOfFlags()
short
getFrequency()
Tx/Rx frequency in MHzint
getFrequencyAsInt()
Tx/Rx frequency in MHzboolean
getLsbOfFlags()
byte[]
getRawData()
boolean
getSecondLsbOfFlags()
boolean
getThirdLsbOfFlags()
int
hashCode()
boolean
isCck()
boolean
isDynamicCckOfdm()
boolean
isFiveGhzSpectrum()
boolean
isGfsk()
boolean
isGsm()
boolean
isHalfRate()
boolean
isOfdm()
boolean
isOnlyPassiveScan()
boolean
isQuarterRate()
boolean
isStaticTurbo()
boolean
isTurbo()
boolean
isTwoGhzSpectrum()
int
length()
static RadiotapDataChannel
newInstance(byte[] rawData, int offset, int length)
A static factory method.String
toString()
String
toString(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.
-
-