Secure iNet Factory

com.jscape.inet.dns.record
Class MailExchanger

java.lang.Object
  extended by com.jscape.inet.dns.record.DnsRecord
      extended by com.jscape.inet.dns.record.MailExchanger
All Implemented Interfaces:
java.io.Serializable

public class MailExchanger
extends DnsRecord

MailExchanger record represents a host responsible for sending email

See Also:
Serialized Form

Constructor Summary
MailExchanger()
           
 
Method Summary
 java.lang.String getMX()
          Gets domain name willing to act as mail exchange.
 int getPreference()
          Gets preference given to this record.
 java.lang.String toString()
          Gets String representation of this record.
 
Methods inherited from class com.jscape.inet.dns.record.DnsRecord
getRecordClass, getRecordName, getRecordTTL, getRecordType, init, isValid
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MailExchanger

public MailExchanger()
Method Detail

getMX

public java.lang.String getMX()
Gets domain name willing to act as mail exchange.

Returns:
mail exchange

getPreference

public int getPreference()
Gets preference given to this record. Lower values are preferred.

Returns:
preference

toString

public java.lang.String toString()
Gets String representation of this record.

Overrides:
toString in class java.lang.Object
Returns:
String

Secure iNet Factory

Copyright © JSCAPE LLC. 1999-2011. All Rights Reserved