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

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

public class NameServerRecordEncoder
extends ResourceRecordEncoder

3.3.11. NS RDATA format +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ / NSDNAME / / / +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ where: NSDNAME A which specifies a host which should be authoritative for the specified class and domain. NS records cause both the usual additional section processing to locate a type A record, and, when used in a referral, a special search of the zone in which they reside for glue information. The NS RR states that the named host should be expected to have a zone starting at owner name of the specified class. Note that the class may not indicate the protocol family which should be used to communicate with the host, although it is typically a strong hint. For example, hosts which are name servers for either Internet (IN) or Hesiod (HS) class information are normally queried using IN class protocols.

Version:
$Rev: 725712 $, $Date: 2008-12-11 16:32:04 +0100 (Thu, 11 Dec 2008) $
Author:
Apache Directory Project

Constructor Summary
NameServerRecordEncoder()
           
 
Method Summary
protected  void putResourceRecordData(org.apache.mina.core.buffer.IoBuffer 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

NameServerRecordEncoder

public NameServerRecordEncoder()
Method Detail

putResourceRecordData

protected void putResourceRecordData(org.apache.mina.core.buffer.IoBuffer byteBuffer,
                                     ResourceRecord record)
Specified by:
putResourceRecordData in class ResourceRecordEncoder


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