Class CancelDecoder
- java.lang.Object
-
- org.apache.directory.api.asn1.ber.Asn1Decoder
-
- org.apache.directory.api.ldap.extras.extended.ads_impl.cancel.CancelDecoder
-
- All Implemented Interfaces:
TLVBerDecoderMBean
public class CancelDecoder extends Asn1Decoder
A decoder for Cancel.- Author:
- Apache Directory Project
-
-
Constructor Summary
Constructors Constructor Description CancelDecoder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CancelRequest
decode(byte[] stream)
Decode a PDU which must contain a Cancel extended operation.-
Methods inherited from class org.apache.directory.api.asn1.ber.Asn1Decoder
allowIndefiniteLength, decode, disallowIndefiniteLength, getMaxLengthLength, getMaxTagLength, isIndefiniteLengthAllowed, setMaxLengthLength, setMaxTagLength
-
-
-
-
Constructor Detail
-
CancelDecoder
public CancelDecoder()
-
-
Method Detail
-
decode
public CancelRequest 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
-
-