org.apache.directory.server.dns.io.decoder
Interface RecordDecoder

All Known Implementing Classes:
AddressRecordDecoder, IPv6RecordDecoder, MailExchangeRecordDecoder, NameServerRecordDecoder

public interface RecordDecoder

Author:
Apache Directory Project

Method Summary
 Map<String,Object> decode(org.apache.mina.core.buffer.IoBuffer byteBuffer, short length)
          Decodes the given length of resource record data into attributes.
 

Method Detail

decode

Map<String,Object> decode(org.apache.mina.core.buffer.IoBuffer byteBuffer,
                          short length)
                          throws IOException
Decodes the given length of resource record data into attributes. The type and number of attributes depends on the type of the resource record.

Parameters:
byteBuffer -
length -
Returns:
The map of attributes.
Throws:
IOException


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