org.xbill.DNS
Class MGRecord

java.lang.Object
  extended by org.xbill.DNS.Record
      extended by org.xbill.DNS.MGRecord
All Implemented Interfaces:
Cloneable, Comparable

public class MGRecord
extends Record

Mail Group Record - specifies a mailbox which is a member of a mail group.

Author:
Brian Wellington

Field Summary
protected  Name singleName
           
 
Fields inherited from class org.xbill.DNS.Record
dclass, name, ttl, type
 
Constructor Summary
MGRecord(Name name, int dclass, long ttl, Name mailbox)
          Creates a new MG Record with the given data
 
Method Summary
 Name getMailbox()
          Gets the mailbox in the mail group specified by the domain
protected  Name getSingleName()
           
 
Methods inherited from class org.xbill.DNS.Record
byteArrayFromString, byteArrayToString, compareTo, equals, fromString, fromString, fromWire, getAdditionalName, getDClass, getName, getRRsetType, getTTL, getType, hashCode, newRecord, newRecord, newRecord, newRecord, rdataToString, rdataToWireCanonical, sameRRset, toString, toWire, toWireCanonical, unknownToString, withName
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

singleName

protected Name singleName
Constructor Detail

MGRecord

public MGRecord(Name name,
                int dclass,
                long ttl,
                Name mailbox)
Creates a new MG Record with the given data

Parameters:
mailbox - The mailbox that is a member of the group specified by the domain.
Method Detail

getMailbox

public Name getMailbox()
Gets the mailbox in the mail group specified by the domain


getSingleName

protected Name getSingleName()