パッケージ org.pcap4j.packet
クラス Dot11FrameControl
- java.lang.Object
-
- org.pcap4j.packet.Dot11FrameControl
-
- すべての実装されたインタフェース:
Serializable
public final class Dot11FrameControl extends Object implements Serializable
Frame control field of an IEEE802.11 frame.0 1 2 3 4 5 6 7 +----------+----------+----------+----------+----------+----------+----------+----------+ | Protocol | Type | Subtype | | Version | | | +----------+----------+----------+----------+----------+----------+----------+----------+ | To DS | From DS |More | Retry |Power | More |Protected | Order | | | |Fragments | |Management| Data |Frame | | +----------+----------+----------+----------+----------+----------+----------+----------+
- 導入されたバージョン:
- pcap4j 1.7.0
- 作成者:
- Kaito Yamada
- 関連項目:
- IEEE802.11, 直列化された形式
-
-
ネストされたクラスの概要
ネストされたクラス 修飾子とタイプ クラス 説明 static class
Dot11FrameControl.Builder
static class
Dot11FrameControl.ProtocolVersion
Protocol version of IEEE802.11 frame
-
メソッドの概要
すべてのメソッド staticメソッド インスタンス・メソッド concreteメソッド 修飾子とタイプ メソッド 説明 boolean
equals(Object obj)
Dot11FrameControl.Builder
getBuilder()
Dot11FrameControl.ProtocolVersion
getProtocolVersion()
byte[]
getRawData()
Dot11FrameType
getType()
int
hashCode()
boolean
isFromDs()
boolean
isMoreData()
boolean
isMoreFragments()
boolean
isOrder()
boolean
isPowerManagement()
boolean
isProtectedFrame()
boolean
isRetry()
boolean
isToDs()
int
length()
static Dot11FrameControl
newInstance(byte[] rawData, int offset, int length)
A static factory method.String
toString()
String
toString(String indent)
-
-
-
メソッドの詳細
-
newInstance
public static Dot11FrameControl 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 Dot11FrameControl object.
- 例外:
IllegalRawDataException
- if parsing the raw data fails.
-
getProtocolVersion
public Dot11FrameControl.ProtocolVersion getProtocolVersion()
- 戻り値:
- protocolVersion
-
getType
public Dot11FrameType getType()
- 戻り値:
- type
-
isToDs
public boolean isToDs()
- 戻り値:
- toDs
-
isFromDs
public boolean isFromDs()
- 戻り値:
- fromDs
-
isMoreFragments
public boolean isMoreFragments()
- 戻り値:
- moreFragments
-
isRetry
public boolean isRetry()
- 戻り値:
- retry
-
isPowerManagement
public boolean isPowerManagement()
- 戻り値:
- powerManagement
-
isMoreData
public boolean isMoreData()
- 戻り値:
- moreData
-
isProtectedFrame
public boolean isProtectedFrame()
- 戻り値:
- protectedFrame
-
isOrder
public boolean isOrder()
- 戻り値:
- order
-
getBuilder
public Dot11FrameControl.Builder getBuilder()
- 戻り値:
- a new Builder object populated with this object's fields.
-
getRawData
public byte[] getRawData()
- 戻り値:
- the raw data.
-
length
public int length()
- 戻り値:
- length
-
toString
public String toString(String indent)
- パラメータ:
indent
- indent- 戻り値:
- String representation of this object.
-
-