org.xbill.DNS
Class MX_KXRecord
java.lang.Object
org.xbill.DNS.Record
org.xbill.DNS.MX_KXRecord
- All Implemented Interfaces:
- Cloneable, Comparable
- Direct Known Subclasses:
- KXRecord, MXRecord
- public abstract class MX_KXRecord
- extends Record
Implements MX and KX records, which have identical formats
- Author:
- Brian Wellington
Methods inherited from class org.xbill.DNS.Record |
byteArrayFromString, byteArrayToString, compareTo, equals, fromString, fromString, fromWire, getDClass, getName, getRRsetType, getTTL, getType, hashCode, newRecord, newRecord, newRecord, newRecord, rdataToWireCanonical, remainingStrings, toString, toWire, toWireCanonical, withName |
priority
protected int priority
target
protected Name target
MX_KXRecord
protected MX_KXRecord()
MX_KXRecord
protected MX_KXRecord(Name name,
int type,
int dclass,
int ttl)
MX_KXRecord
public MX_KXRecord(Name name,
int type,
int dclass,
int ttl,
int priority,
Name target)
rrFromWire
protected static Record rrFromWire(MX_KXRecord rec,
DataByteInputStream in)
throws IOException
- Throws:
IOException
rdataFromString
protected static Record rdataFromString(MX_KXRecord rec,
Tokenizer st,
Name origin)
throws IOException
- Throws:
IOException
rdataToString
public String rdataToString()
- Converts rdata to a String
- Specified by:
rdataToString
in class Record
getTarget
public Name getTarget()
- Returns the target of the record
getPriority
public int getPriority()
- Returns the priority of this record
getAdditionalName
public Name getAdditionalName()
- Description copied from class:
Record
- Returns the name for which additional data processing should be done
for this record. This can be used both for building responses and
parsing responses.
- Overrides:
getAdditionalName
in class Record
- Returns:
- The name to used for additional data processing, or null if this
record type does not require additional data processing.