org.apache.asn1.ber
Class BERDecoderCallbackAdapter

java.lang.Object
  extended by org.apache.asn1.ber.BERDecoderCallbackAdapter
All Implemented Interfaces:
BERDecoderCallback, org.apache.asn1.codec.stateful.DecoderCallback

public class BERDecoderCallbackAdapter
extends java.lang.Object
implements BERDecoderCallback

A do nothing callback adapter.

Version:
$Rev: 157644 $
Author:
Apache Directory Project

Constructor Summary
BERDecoderCallbackAdapter()
           
 
Method Summary
 void decodeOccurred(org.apache.asn1.codec.stateful.StatefulDecoder decoder, java.lang.Object decoded)
           
 void lengthDecoded(Tuple tlv)
          Method used to receive notification that a length was decoded.
 void partialValueDecoded(Tuple tlv)
          Method used to recieve notification that a part of the value was decoded.
 void tagDecoded(Tuple tlv)
          Method used to receive notification that a tag was decoded.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BERDecoderCallbackAdapter

public BERDecoderCallbackAdapter()
Method Detail

tagDecoded

public void tagDecoded(Tuple tlv)
Description copied from interface: BERDecoderCallback
Method used to receive notification that a tag was decoded. The following tag properties of the TLV tuple are valid at this point:

Specified by:
tagDecoded in interface BERDecoderCallback
Parameters:
tlv - the TLV tuple

lengthDecoded

public void lengthDecoded(Tuple tlv)
Description copied from interface: BERDecoderCallback
Method used to receive notification that a length was decoded. The following properties of the TLV tuple are valid at this point:

Specified by:
lengthDecoded in interface BERDecoderCallback
Parameters:
tlv - the TLV tuple

partialValueDecoded

public void partialValueDecoded(Tuple tlv)
Description copied from interface: BERDecoderCallback
Method used to recieve notification that a part of the value was decoded.

Specified by:
partialValueDecoded in interface BERDecoderCallback
Parameters:
tlv - the TLV tuple

decodeOccurred

public void decodeOccurred(org.apache.asn1.codec.stateful.StatefulDecoder decoder,
                           java.lang.Object decoded)
Specified by:
decodeOccurred in interface org.apache.asn1.codec.stateful.DecoderCallback


Copyright © 2004-2009 . All Rights Reserved.