パッケージ org.pcap4j.packet
クラス DnsRDataSoa
- java.lang.Object
-
- 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.
-
-
ネストされたクラスの概要
ネストされたクラス 修飾子とタイプ クラス 説明 static class
DnsRDataSoa.Builder
-
メソッドの概要
すべてのメソッド staticメソッド インスタンス・メソッド concreteメソッド 修飾子とタイプ メソッド 説明 boolean
equals(Object obj)
DnsRDataSoa.Builder
getBuilder()
int
getExpire()
long
getExpireAsLong()
int
getMinimum()
long
getMinimumAsLong()
DnsDomainName
getMName()
byte[]
getRawData()
int
getRefresh()
long
getRefreshAsLong()
int
getRetry()
long
getRetryAsLong()
DnsDomainName
getRName()
int
getSerial()
long
getSerialAsLong()
int
hashCode()
int
length()
static DnsRDataSoa
newInstance(byte[] rawData, int offset, int length)
A static factory method.String
toString()
String
toString(String indent)
String
toString(String indent, byte[] headerRawData)
-
-
-
メソッドの詳細
-
newInstance
public static DnsRDataSoa newInstance(byte[] rawData, int offset, int length) throws IllegalRawDataException
A static factory method. This method validates the arguments byByteArrays.validateBounds(byte[], int, int)
, which may throw exceptions undocumented here.- パラメータ:
rawData
- rawDataoffset
- offsetlength
- length- 戻り値:
- a new DnsRDataSoa object.
- 例外:
IllegalRawDataException
- if parsing the raw data fails.
-
getMName
public DnsDomainName getMName()
- 戻り値:
- mName
-
getRName
public DnsDomainName getRName()
- 戻り値:
- rName
-
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
-
length
public int length()
- 定義:
length
インタフェース内DnsResourceRecord.DnsRData
- 戻り値:
- length
-
getRawData
public byte[] getRawData()
- 定義:
getRawData
インタフェース内DnsResourceRecord.DnsRData
- 戻り値:
- raw data
-
getBuilder
public DnsRDataSoa.Builder getBuilder()
- 戻り値:
- a new Builder object populated with this object's fields.
-
toString
public String toString(String indent)
- 定義:
toString
インタフェース内DnsResourceRecord.DnsRData
- パラメータ:
indent
- indent- 戻り値:
- String representation of this object.
-
toString
public String toString(String indent, byte[] headerRawData)
- 定義:
toString
インタフェース内DnsResourceRecord.DnsRData
- パラメータ:
indent
- indentheaderRawData
- the raw data of the DNS header including this RDATA.- 戻り値:
- String representation of this object.
-
-