パッケージ 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 classDot11ManagementPacket.Builderstatic classDot11ManagementPacket.Dot11ManagementHeaderHeader of IEEE802.11 management frame-
クラスから継承されたネストされたクラス/インタフェース org.pcap4j.packet.AbstractPacket
AbstractPacket.AbstractBuilder, AbstractPacket.AbstractHeader
-
インタフェースから継承されたネストされたクラス/インタフェース org.pcap4j.packet.Packet
Packet.Header
-
-
コンストラクタの概要
コンストラクタ 修飾子 コンストラクタ 説明 protectedDot11ManagementPacket(byte[] rawData, int offset, int length, int headerLen)protectedDot11ManagementPacket(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 StringbuildString()This method builds the valuetoString()will return by concatenating the header's string representation and the payload's string representation.protected intcalcLength()This method calculates the valuelength()will return by adding up the header length and the payload length.abstract Dot11ManagementPacket.BuildergetBuilder()Returns a new Builder object populated with this object's fields' values.IntegergetFcs()abstract Dot11ManagementPacket.Dot11ManagementHeadergetHeader()Returns the Header object representing this packet's header.booleanhasValidFcs()-
クラスから継承されたメソッド 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()
クラスからコピーされた説明:AbstractPacketReturns 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()
クラスからコピーされた説明:AbstractPacketThis 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()
クラスからコピーされた説明:AbstractPacketThis 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()
クラスからコピーされた説明:AbstractPacketThis 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()
インタフェースからコピーされた説明:PacketReturns 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.
-
-