パッケージ org.pcap4j.packet
クラス RadiotapDataDbTxAttenuation
- java.lang.Object
-
- org.pcap4j.packet.RadiotapDataDbTxAttenuation
-
- すべての実装されたインタフェース:
Serializable
,RadiotapPacket.RadiotapData
public final class RadiotapDataDbTxAttenuation extends Object implements RadiotapPacket.RadiotapData
Radiotap dB TX attenuation field. Transmit power expressed as decibel distance from max power set at factory calibration. 0 is max power. Monotonically nondecreasing with lower power levels.
-
-
ネストされたクラスの概要
ネストされたクラス 修飾子とタイプ クラス 説明 static class
RadiotapDataDbTxAttenuation.Builder
-
メソッドの概要
すべてのメソッド staticメソッド インスタンス・メソッド concreteメソッド 修飾子とタイプ メソッド 説明 boolean
equals(Object obj)
RadiotapDataDbTxAttenuation.Builder
getBuilder()
byte[]
getRawData()
short
getTxAttenuation()
int
getTxAttenuationAsInt()
int
hashCode()
int
length()
static RadiotapDataDbTxAttenuation
newInstance(byte[] rawData, int offset, int length)
A static factory method.String
toString()
String
toString(String indent)
-
-
-
メソッドの詳細
-
newInstance
public static RadiotapDataDbTxAttenuation 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 RadiotapDbTxAttenuation object.
- 例外:
IllegalRawDataException
- if parsing the raw data fails.
-
getTxAttenuation
public short getTxAttenuation()
- 戻り値:
- txAttenuation (unit: dB)
-
getTxAttenuationAsInt
public int getTxAttenuationAsInt()
- 戻り値:
- txAttenuation (unit: dB)
-
length
public int length()
- 定義:
length
インタフェース内RadiotapPacket.RadiotapData
- 戻り値:
- length
-
getRawData
public byte[] getRawData()
- 定義:
getRawData
インタフェース内RadiotapPacket.RadiotapData
- 戻り値:
- raw data
-
getBuilder
public RadiotapDataDbTxAttenuation.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.
-
-