org.xbill.DNS
Class MXRecord
java.lang.Object
|
+--org.xbill.DNS.Record
|
+--org.xbill.DNS.MX_KXRecord
|
+--org.xbill.DNS.MXRecord
- public class MXRecord
- extends MX_KXRecord
Mail Exchange - specifies where mail to a domain is sent
|
Constructor Summary |
MXRecord(Name _name,
short _dclass,
int _ttl,
int _priority,
Name _target)
Creates an MX Record from the given data |
| Methods inherited from class org.xbill.DNS.Record |
equals,
fromString,
fromWire,
getDClass,
getName,
getRRsetType,
getTTL,
getType,
getWireLength,
hashCode,
newRecord,
newRecord,
newRecord,
toWire,
toWireCanonical,
withName |
MXRecord
public MXRecord(Name _name,
short _dclass,
int _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