org.apache.directory.shared.asn1.codec.stateful.examples
Class HexDecoder

java.lang.Object
  extended by org.apache.directory.shared.asn1.codec.stateful.AbstractStatefulDecoder
      extended by org.apache.directory.shared.asn1.codec.stateful.examples.HexDecoder
All Implemented Interfaces:
StatefulDecoder

public class HexDecoder
extends AbstractStatefulDecoder

Document me.

Author:
Apache Directory Project $Rev: 434412 $

Constructor Summary
HexDecoder()
           
 
Method Summary
 void decode(java.lang.Object chunk)
          Decodes a peice of encoded data.
 
Methods inherited from class org.apache.directory.shared.asn1.codec.stateful.AbstractStatefulDecoder
decodeOccurred, getDecoderMonitor, setCallback, setDecoderMonitor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HexDecoder

public HexDecoder()
Method Detail

decode

public void decode(java.lang.Object chunk)
            throws DecoderException
Description copied from interface: StatefulDecoder
Decodes a peice of encoded data. The nature of this call, synchronous verses asynchonous, with respect to driving the actual decoding of the encoded data argument is determined by an implementation. A return from this method does not guarrantee any callbacks: zero or more callbacks may occur during this call.

Parameters:
chunk - an object representing a peice of encoded data
Throws:
DecoderException


Copyright © 2004-2009. All Rights Reserved.