パッケージ org.pcap4j.packet
クラス RadiotapDataDbmTxPower
- java.lang.Object
-
- org.pcap4j.packet.RadiotapDataDbmTxPower
-
- すべての実装されたインタフェース:
Serializable,RadiotapPacket.RadiotapData
public final class RadiotapDataDbmTxPower extends Object implements RadiotapPacket.RadiotapData
Radiotap dBm TX power field. Transmit power expressed as dBm (decibels from a 1 milliwatt reference). This is the absolute power level measured at the antenna port.
-
-
ネストされたクラスの概要
ネストされたクラス 修飾子とタイプ クラス 説明 static classRadiotapDataDbmTxPower.Builder
-
メソッドの概要
すべてのメソッド staticメソッド インスタンス・メソッド concreteメソッド 修飾子とタイプ メソッド 説明 booleanequals(Object obj)RadiotapDataDbmTxPower.BuildergetBuilder()byte[]getRawData()bytegetTxPower()intgetTxPowerAsInt()inthashCode()intlength()static RadiotapDataDbmTxPowernewInstance(byte[] rawData, int offset, int length)A static factory method.StringtoString()StringtoString(String indent)
-
-
-
メソッドの詳細
-
newInstance
public static RadiotapDataDbmTxPower 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 RadiotapDbmTxPower object.
- 例外:
IllegalRawDataException- if parsing the raw data fails.
-
getTxPower
public byte getTxPower()
- 戻り値:
- txPower (unit: dBm)
-
getTxPowerAsInt
public int getTxPowerAsInt()
- 戻り値:
- txPower (unit: dBm)
-
length
public int length()
- 定義:
lengthインタフェース内RadiotapPacket.RadiotapData- 戻り値:
- length
-
getRawData
public byte[] getRawData()
- 定義:
getRawDataインタフェース内RadiotapPacket.RadiotapData- 戻り値:
- raw data
-
getBuilder
public RadiotapDataDbmTxPower.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.
-
-