org.apache.directory.server.dns.io.encoder
Class MailExchangeRecordEncoder

java.lang.Object
  extended by org.apache.directory.server.dns.io.encoder.ResourceRecordEncoder
      extended by org.apache.directory.server.dns.io.encoder.MailExchangeRecordEncoder
All Implemented Interfaces:
RecordEncoder

public class MailExchangeRecordEncoder
extends ResourceRecordEncoder

3.3.9. MX RDATA format +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ | PREFERENCE | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ / EXCHANGE / / / +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ where: PREFERENCE A 16 bit integer which specifies the preference given to this RR among others at the same owner. Lower values are preferred. EXCHANGE A which specifies a host willing to act as a mail exchange for the owner name. MX records cause type A additional section processing for the host specified by EXCHANGE. The use of MX RRs is explained in detail in [RFC-974].

Version:
$Rev: 507387 $, $Date: 2007-02-14 05:54:05 +0100 (Mi, 14 Feb 2007) $
Author:
Apache Directory Project

Constructor Summary
MailExchangeRecordEncoder()
           
 
Method Summary
protected  void putResourceRecordData(org.apache.mina.common.ByteBuffer byteBuffer, ResourceRecord record)
           
 
Methods inherited from class org.apache.directory.server.dns.io.encoder.ResourceRecordEncoder
put, putCharacterString, putDataSize, putDomainName, putRecordClass, putRecordType, putResourceRecord
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MailExchangeRecordEncoder

public MailExchangeRecordEncoder()
Method Detail

putResourceRecordData

protected void putResourceRecordData(org.apache.mina.common.ByteBuffer byteBuffer,
                                     ResourceRecord record)
Specified by:
putResourceRecordData in class ResourceRecordEncoder


Copyright © 2003-2009 Apache Software Foundation. All Rights Reserved.