パッケージ org.pcap4j.packet

クラス Dot11ManagementPacket

    • コンストラクタの詳細

      • Dot11ManagementPacket

        protected Dot11ManagementPacket​(byte[] rawData,
                                        int offset,
                                        int length,
                                        int headerLen)
        パラメータ:
        rawData - rawData
        offset - offset
        length - length
        headerLen - headerLen
    • メソッドの詳細

      • 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 value length() 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 value getRawData() 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 value toString() 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.