public final class DnsRDataMInfo extends java.lang.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(java.lang.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.
|
java.lang.String |
toString() |
java.lang.String |
toString(java.lang.String indent) |
java.lang.String |
toString(java.lang.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.DnsRDatapublic byte[] getRawData()
getRawData in interface DnsResourceRecord.DnsRDatapublic DnsRDataMInfo.Builder getBuilder()
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String toString(java.lang.String indent)
toString in interface DnsResourceRecord.DnsRDataindent - indentpublic java.lang.String toString(java.lang.String indent,
byte[] headerRawData)
toString in interface DnsResourceRecord.DnsRDataindent - indentheaderRawData - the raw data of the DNS header including this RDATA.public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2011 - 2018 Pcap4J.org. All rights reserved.