org.apache.directory.server.dns.protocol
Class DnsUdpDecoder

java.lang.Object
  extended by org.apache.mina.filter.codec.ProtocolDecoderAdapter
      extended by org.apache.directory.server.dns.protocol.DnsUdpDecoder
All Implemented Interfaces:
org.apache.mina.filter.codec.ProtocolDecoder

public class DnsUdpDecoder
extends org.apache.mina.filter.codec.ProtocolDecoderAdapter

A ProtocolDecoder for use in the MINA framework that uses the DnsMessageDecoder to decode DnsMessages.

Version:
$Rev: 548165 $, $Date: 2007-06-18 04:03:59 +0200 (Mo, 18 Jun 2007) $
Author:
Apache Directory Project

Constructor Summary
DnsUdpDecoder()
           
 
Method Summary
 void decode(org.apache.mina.common.IoSession session, org.apache.mina.common.ByteBuffer in, org.apache.mina.filter.codec.ProtocolDecoderOutput out)
           
 
Methods inherited from class org.apache.mina.filter.codec.ProtocolDecoderAdapter
dispose, finishDecode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DnsUdpDecoder

public DnsUdpDecoder()
Method Detail

decode

public void decode(org.apache.mina.common.IoSession session,
                   org.apache.mina.common.ByteBuffer in,
                   org.apache.mina.filter.codec.ProtocolDecoderOutput out)
            throws java.io.IOException
Throws:
java.io.IOException


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