org.xbill.DNS
Class MXRecord
java.lang.Object
org.xbill.DNS.Record
org.xbill.DNS.MX_KXRecord
org.xbill.DNS.MXRecord
- All Implemented Interfaces:
- Cloneable, Comparable
- public class MXRecord
- extends MX_KXRecord
Mail Exchange - specifies where mail to a domain is sent
- Author:
- Brian Wellington
Constructor Summary |
MXRecord(Name name,
int dclass,
long ttl,
int priority,
Name target)
Creates an MX Record from the given data |
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 |
MXRecord
public MXRecord(Name name,
int dclass,
long ttl,
int priority,
Name target)
- Creates an MX Record from the given data
- Parameters:
priority
- The priority of this MX. Records with lower priority
are preferred.target
- The host that mail is sent to