public class MXRecord extends U16NameBase
nameField, u16Field| Constructor and Description |
|---|
MXRecord() |
MXRecord(Name name,
int dclass,
long ttl,
int priority,
Name target)
Creates an MX Record from the given data
|
| Modifier and Type | Method and Description |
|---|---|
Name |
getAdditionalName()
Returns the name for which additional data processing should be done for this record.
|
int |
getPriority()
Returns the priority of this MX record
|
Name |
getTarget()
Returns the target of the MX record
|
protected void |
rrToWire(DNSOutput out,
Compression c,
boolean canonical)
Converts the type-specific RR to wire format - must be overridden.
|
getNameField, getU16Field, rdataFromString, rrFromWire, rrToStringbyteArrayFromString, byteArrayToString, checkByteArrayLength, checkName, checkU16, checkU32, checkU8, cloneRecord, compareTo, equals, fromString, fromString, fromWire, fromWire, fromWire, getDClass, getName, getRRsetType, getTTL, getType, hashCode, newRecord, newRecord, newRecord, newRecord, rdataToString, rdataToWireCanonical, sameRRset, setTTL, toString, toWire, toWire, toWireCanonical, unknownToString, withDClass, withName, writeReplacepublic Name getTarget()
public int getPriority()
protected void rrToWire(DNSOutput out, Compression c, boolean canonical)
RecordrrToWire in class U16NameBasepublic Name getAdditionalName()
RecordgetAdditionalName in class Record