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