|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.lavantech.net.dns.ResourceRecord com.lavantech.net.dns.MXRecord
MXRecord represents all information in a DNS MX Record.
Constructor Summary | |
MXRecord(java.lang.String rname,
int rtype,
int rclass,
long ttl,
int pref,
java.lang.String mxName)
Creates a MXRecord with all the required information. |
Method Summary | |
java.lang.String |
getMailExchange()
Returns the mail exchange |
int |
getPreference()
Returns the preference for the mail exchange. |
java.lang.String |
toString()
Returns a string representation of the record. |
Methods inherited from class com.lavantech.net.dns.ResourceRecord |
getResourceClass, getResourceName, getResourceType, getTTL |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public MXRecord(java.lang.String rname, int rtype, int rclass, long ttl, int pref, java.lang.String mxName)
rname
- Record Name (domain name)rtype
- Record Typerclass
- Record Classttl
- Time to Live, time in seconds after which the record will expire.pref
- Preference number of the Mail ExchangemxName
- Mail Exchange name.Method Detail |
public int getPreference()
public java.lang.String getMailExchange()
public java.lang.String toString()
toString
in class ResourceRecord
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |