パッケージ org.pcap4j.packet
クラス DnsRDataMInfo
- java.lang.Object
-
- org.pcap4j.packet.DnsRDataMInfo
-
- すべての実装されたインタフェース:
Serializable
,DnsResourceRecord.DnsRData
public final class DnsRDataMInfo extends Object implements DnsResourceRecord.DnsRData
DNS MINFO RDATA+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ / RMAILBX / +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ / EMAILBX / +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ where: RMAILBX A <domain-name> which specifies a mailbox which is responsible for the mailing list or mailbox. If this domain name names the root, the owner of the MINFO RR is responsible for itself. Note that many existing mailing lists use a mailbox X-request for the RMAILBX field of mailing list X, e.g., Msgroup-request for Msgroup. This field provides a more general mechanism. EMAILBX A <domain-name> which specifies a mailbox which is to receive error messages related to the mailing list or mailbox specified by the owner of the MINFO RR (similar to the ERRORS-TO: field which has been proposed). If this domain name names the root, errors should be returned to the sender of the message.
-
-
ネストされたクラスの概要
ネストされたクラス 修飾子とタイプ クラス 説明 static class
DnsRDataMInfo.Builder
-
メソッドの概要
すべてのメソッド staticメソッド インスタンス・メソッド concreteメソッド 修飾子とタイプ メソッド 説明 boolean
equals(Object obj)
DnsRDataMInfo.Builder
getBuilder()
DnsDomainName
getEMailBx()
byte[]
getRawData()
DnsDomainName
getRMailBx()
int
hashCode()
int
length()
static DnsRDataMInfo
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 DnsRDataMInfo 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 DnsRDataMInfo object.
- 例外:
IllegalRawDataException
- if parsing the raw data fails.
-
getRMailBx
public DnsDomainName getRMailBx()
- 戻り値:
- rMailBx
-
getEMailBx
public DnsDomainName getEMailBx()
- 戻り値:
- eMailBx
-
length
public int length()
- 定義:
length
インタフェース内DnsResourceRecord.DnsRData
- 戻り値:
- length
-
getRawData
public byte[] getRawData()
- 定義:
getRawData
インタフェース内DnsResourceRecord.DnsRData
- 戻り値:
- raw data
-
getBuilder
public DnsRDataMInfo.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.
-
-