パッケージ org.pcap4j.packet

クラス DnsQuestion

  • すべての実装されたインタフェース:
    Serializable

    public final class DnsQuestion
    extends Object
    implements Serializable
    DNS Question
                                     1  1  1  1  1  1
       0  1  2  3  4  5  6  7  8  9  0  1  2  3  4  5
     +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
     |                                               |
     /                     QNAME                     /
     /                                               /
     +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
     |                     QTYPE                     |
     +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
     |                     QCLASS                    |
     +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
     
    導入されたバージョン:
    pcap4j 1.7.1
    作成者:
    Kaito Yamada
    関連項目:
    RFC 1035, 直列化された形式
    • メソッドの詳細

      • getQClass

        public DnsClass getQClass()
        戻り値:
        qClass
      • getBuilder

        public DnsQuestion.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.
      • toString

        public String toString​(String indent,
                               byte[] headerRawData)
        パラメータ:
        indent - indent
        headerRawData - the raw data of the DNS header including this question.
        戻り値:
        String representation of this object.
      • hashCode

        public int hashCode()
        オーバーライド:
        hashCode クラス内 Object
      • equals

        public boolean equals​(Object obj)
        オーバーライド:
        equals クラス内 Object