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