org.xbill.DNS
Class MX_KXRecord

java.lang.Object
  |
  +--org.xbill.DNS.Record
        |
        +--org.xbill.DNS.MX_KXRecord
Direct Known Subclasses:
KXRecord, MXRecord

public class MX_KXRecord
extends Record

Implements MX and KX records, which have identical formats


Fields inherited from class org.xbill.DNS.Record
dclass, name, ttl, type, wireLength
 
Constructor Summary
protected MX_KXRecord()
           
protected MX_KXRecord(Name _name, short _type, short _dclass, int _ttl, int length, DataByteInputStream in, org.xbill.DNS.Compression c)
           
  MX_KXRecord(Name _name, short _type, short _dclass, int _ttl, int _priority, Name _target)
           
protected MX_KXRecord(Name _name, short _type, short _dclass, int _ttl, MyStringTokenizer st, Name origin)
           
 
Method Summary
 short getPriority()
          Returns the priority of this record
 Name getTarget()
          Returns the target of the record
 String toString()
          Converts to a String
 
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

MX_KXRecord

protected MX_KXRecord()

MX_KXRecord

public MX_KXRecord(Name _name,
                   short _type,
                   short _dclass,
                   int _ttl,
                   int _priority,
                   Name _target)

MX_KXRecord

protected MX_KXRecord(Name _name,
                      short _type,
                      short _dclass,
                      int _ttl,
                      int length,
                      DataByteInputStream in,
                      org.xbill.DNS.Compression c)
               throws IOException

MX_KXRecord

protected MX_KXRecord(Name _name,
                      short _type,
                      short _dclass,
                      int _ttl,
                      MyStringTokenizer st,
                      Name origin)
               throws IOException
Method Detail

toString

public String toString()
Converts to a String
Overrides:
toString in class Record

getTarget

public Name getTarget()
Returns the target of the record

getPriority

public short getPriority()
Returns the priority of this record