public final class DnsRDataMInfo extends Object implements DnsResourceRecord.DnsRData
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ / 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.
Modifier and Type | Class and Description |
---|---|
static class |
DnsRDataMInfo.Builder |
Modifier and Type | Method and Description |
---|---|
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) |
public static DnsRDataMInfo newInstance(byte[] rawData, int offset, int length) throws IllegalRawDataException
ByteArrays.validateBounds(byte[], int, int)
,
which may throw exceptions undocumented here.rawData
- rawDataoffset
- offsetlength
- lengthIllegalRawDataException
- if parsing the raw data fails.public DnsDomainName getRMailBx()
public DnsDomainName getEMailBx()
public int length()
length
in interface DnsResourceRecord.DnsRData
public byte[] getRawData()
getRawData
in interface DnsResourceRecord.DnsRData
public DnsRDataMInfo.Builder getBuilder()
public String toString(String indent)
toString
in interface DnsResourceRecord.DnsRData
indent
- indentpublic String toString(String indent, byte[] headerRawData)
toString
in interface DnsResourceRecord.DnsRData
indent
- indentheaderRawData
- the raw data of the DNS header including this RDATA.Copyright © 2011–2018 Pcap4J.org. All rights reserved.