パッケージ org.pcap4j.packet

クラス DnsRDataSoa

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

    public final class DnsRDataSoa
    extends Object
    implements DnsResourceRecord.DnsRData
    DNS SOA RDATA
     +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
     /                     MNAME                     /
     /                                               /
     +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
     /                     RNAME                     /
     +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
     |                    SERIAL                     |
     |                                               |
     +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
     |                    REFRESH                    |
     |                                               |
     +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
     |                     RETRY                     |
     |                                               |
     +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
     |                    EXPIRE                     |
     |                                               |
     +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
     |                    MINIMUM                    |
     |                                               |
     +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
    
     where:
    
     MNAME           The <domain-name> of the name server that was the
                     original or primary source of data for this zone.
    
     RNAME           A <domain-name> which specifies the mailbox of the
                     person responsible for this zone.
    
     SERIAL          The unsigned 32 bit version number of the original copy
                     of the zone.  Zone transfers preserve this value.  This
                     value wraps and should be compared using sequence space
                     arithmetic.
    
     REFRESH         A 32 bit time interval before the zone should be
                     refreshed.
    
     RETRY           A 32 bit time interval that should elapse before a
                     failed refresh should be retried.
    
     EXPIRE          A 32 bit time value that specifies the upper limit on
                     the time interval that can elapse before the zone is no
                     longer authoritative.
    
     MINIMUM         The unsigned 32 bit minimum TTL field that should be
                     exported with any RR from this zone.
     
    導入されたバージョン:
    pcap4j 1.7.1
    作成者:
    Kaito Yamada
    関連項目:
    RFC 1035, 直列化された形式
    • メソッドの詳細

      • getSerial

        public int getSerial()
        戻り値:
        serial
      • getSerialAsLong

        public long getSerialAsLong()
        戻り値:
        serial
      • getRefresh

        public int getRefresh()
        戻り値:
        refresh
      • getRefreshAsLong

        public long getRefreshAsLong()
        戻り値:
        refresh
      • getRetry

        public int getRetry()
        戻り値:
        retry
      • getRetryAsLong

        public long getRetryAsLong()
        戻り値:
        retry
      • getExpire

        public int getExpire()
        戻り値:
        expire
      • getExpireAsLong

        public long getExpireAsLong()
        戻り値:
        expire
      • getMinimum

        public int getMinimum()
        戻り値:
        minimum
      • getMinimumAsLong

        public long getMinimumAsLong()
        戻り値:
        minimum
      • getBuilder

        public DnsRDataSoa.Builder getBuilder()
        戻り値:
        a new Builder object populated with this object's fields.
      • toString

        public String toString​(String indent,
                               byte[] headerRawData)
        定義:
        toString インタフェース内 DnsResourceRecord.DnsRData
        パラメータ:
        indent - indent
        headerRawData - the raw data of the DNS header including this RDATA.
        戻り値:
        String representation of this object.
      • hashCode

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

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