パッケージ org.pcap4j.packet
クラス Dot11ManagementPacket
- java.lang.Object
-
- org.pcap4j.packet.AbstractPacket
-
- org.pcap4j.packet.Dot11ManagementPacket
-
- すべての実装されたインタフェース:
Serializable
,Iterable<Packet>
,Packet
- 直系の既知のサブクラス:
Dot11ProbeRequestPacket
public abstract class Dot11ManagementPacket extends AbstractPacket
IEEE802.11 management frame- 導入されたバージョン:
- pcap4j 1.7.0
- 作成者:
- Kaito Yamada
- 関連項目:
- IEEE802.11, 直列化された形式
-
-
ネストされたクラスの概要
ネストされたクラス 修飾子とタイプ クラス 説明 static class
Dot11ManagementPacket.Builder
static class
Dot11ManagementPacket.Dot11ManagementHeader
Header of IEEE802.11 management frame-
クラスから継承されたネストされたクラス/インタフェース org.pcap4j.packet.AbstractPacket
AbstractPacket.AbstractBuilder, AbstractPacket.AbstractHeader
-
インタフェースから継承されたネストされたクラス/インタフェース org.pcap4j.packet.Packet
Packet.Header
-
-
コンストラクタの概要
コンストラクタ 修飾子 コンストラクタ 説明 protected
Dot11ManagementPacket(byte[] rawData, int offset, int length, int headerLen)
protected
Dot11ManagementPacket(Dot11ManagementPacket.Builder builder, Dot11ManagementPacket.Dot11ManagementHeader header)
-
メソッドの概要
すべてのメソッド インスタンス・メソッド abstractメソッド concreteメソッド 修飾子とタイプ メソッド 説明 protected byte[]
buildRawData()
This method builds the valuegetRawData()
will return by concatenating the header's raw data and the payload's raw data.protected String
buildString()
This method builds the valuetoString()
will return by concatenating the header's string representation and the payload's string representation.protected int
calcLength()
This method calculates the valuelength()
will return by adding up the header length and the payload length.abstract Dot11ManagementPacket.Builder
getBuilder()
Returns a new Builder object populated with this object's fields' values.Integer
getFcs()
abstract Dot11ManagementPacket.Dot11ManagementHeader
getHeader()
Returns the Header object representing this packet's header.boolean
hasValidFcs()
-
クラスから継承されたメソッド org.pcap4j.packet.AbstractPacket
buildHexString, calcHashCode, contains, equals, get, getOuterOf, getPayload, getRawData, hashCode, iterator, length, toHexString, toString
-
インタフェースから継承されたメソッド java.lang.Iterable
forEach, spliterator
-
-
-
-
コンストラクタの詳細
-
Dot11ManagementPacket
protected Dot11ManagementPacket(byte[] rawData, int offset, int length, int headerLen)
- パラメータ:
rawData
- rawDataoffset
- offsetlength
- lengthheaderLen
- headerLen
-
Dot11ManagementPacket
protected Dot11ManagementPacket(Dot11ManagementPacket.Builder builder, Dot11ManagementPacket.Dot11ManagementHeader header)
- パラメータ:
builder
- builderheader
- header
-
-
メソッドの詳細
-
getHeader
public abstract Dot11ManagementPacket.Dot11ManagementHeader getHeader()
クラスからコピーされた説明:AbstractPacket
Returns the Header object representing this packet's header. This subclass have to override this method if the packet represented by the subclass has a header.- 定義:
getHeader
インタフェース内Packet
- オーバーライド:
getHeader
クラス内AbstractPacket
- 戻り値:
- the Header object representing this packet's header. May be null if the header doesn't exist
-
getFcs
public Integer getFcs()
- 戻り値:
- fcs. May be null.
-
calcLength
protected int calcLength()
クラスからコピーされた説明:AbstractPacket
This method calculates the valuelength()
will return by adding up the header length and the payload length. If you write this subclass which represents a packet with extra parts (e.g. a trailer), you need to override this method.- オーバーライド:
calcLength
クラス内AbstractPacket
- 戻り値:
- a calculated length
-
buildRawData
protected byte[] buildRawData()
クラスからコピーされた説明:AbstractPacket
This method builds the valuegetRawData()
will return by concatenating the header's raw data and the payload's raw data. If you write this subclass which represents a packet with extra parts (e.g. a trailer), you need to override this method.- オーバーライド:
buildRawData
クラス内AbstractPacket
- 戻り値:
- a raw data built
-
buildString
protected String buildString()
クラスからコピーされた説明:AbstractPacket
This method builds the valuetoString()
will return by concatenating the header's string representation and the payload's string representation. If you write this subclass which represents a packet with extra parts (e.g. a trailer), you need to override this method.- オーバーライド:
buildString
クラス内AbstractPacket
- 戻り値:
- a string representation of this object
-
getBuilder
public abstract Dot11ManagementPacket.Builder getBuilder()
インタフェースからコピーされた説明:Packet
Returns a new Builder object populated with this object's fields' values.- 定義:
getBuilder
インタフェース内Packet
- 定義:
getBuilder
クラス内AbstractPacket
- 戻り値:
- a new Builder object populated with this object's fields values
-
hasValidFcs
public boolean hasValidFcs()
- 戻り値:
- true if this FCS is present and valid; false otherwise.
-
-