org.apache.directory.shared.ldap.codec.extended.operations.cancel
Class CancelDecoder

java.lang.Object
  extended by org.apache.directory.shared.asn1.ber.Asn1Decoder
      extended by org.apache.directory.shared.ldap.codec.extended.operations.cancel.CancelDecoder
All Implemented Interfaces:
ITLVBerDecoderMBean

public class CancelDecoder
extends Asn1Decoder

A decoder for Cancel.

Version:
$Rev: 664290 $, $Date: 2008-06-07 08:28:06 +0200 (Sat, 07 Jun 2008) $,
Author:
Apache Directory Project

Constructor Summary
CancelDecoder()
           
 
Method Summary
 Asn1Object decode(byte[] stream)
          Decode a PDU which must contain a Cancel extended operation.
 
Methods inherited from class org.apache.directory.shared.asn1.ber.Asn1Decoder
allowIndefiniteLength, decode, disallowIndefiniteLength, getMaxLengthLength, getMaxTagLength, isIndefiniteLengthAllowed, setMaxLengthLength, setMaxTagLength
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CancelDecoder

public CancelDecoder()
Method Detail

decode

public Asn1Object decode(byte[] stream)
                  throws DecoderException
Decode a PDU which must contain a Cancel extended operation. Note that the stream of bytes much contain a full PDU, not a partial one.

Parameters:
stream - The bytes to be decoded
Returns:
An Cancel object
Throws:
DecoderException - If the decoding failed


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