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


Fields inherited from class org.xbill.DNS.Record
dclass, name, ttl, type, wireLength
 
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.MX_KXRecord
getPriority, getTarget, toString
 
Methods inherited from class org.xbill.DNS.Record
equals, fromString, fromWire, getDClass, getName, getRRsetType, getTTL, getType, getWireLength, hashCode, newRecord, newRecord, newRecord, toWire, toWireCanonical, withName
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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