org.apache.directory.shared.ldap.codec.extended.operations
Class GracefulDisconnectDecoder
java.lang.Object
org.apache.directory.shared.asn1.ber.Asn1Decoder
org.apache.directory.shared.ldap.codec.extended.operations.GracefulDisconnectDecoder
- All Implemented Interfaces:
- ITLVBerDecoderMBean
public class GracefulDisconnectDecoder
- extends Asn1Decoder
A decoder for GracefulDisconnects.
- Author:
- Apache Directory Project
Method Summary |
Asn1Object |
decode(byte[] stream)
Decode a PDU which must contain a GracefulDisconnect extended operation. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GracefulDisconnectDecoder
public GracefulDisconnectDecoder()
decode
public Asn1Object decode(byte[] stream)
throws DecoderException,
NamingException
- Decode a PDU which must contain a GracefulDisconnect 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 GracefulDisconnect object
- Throws:
DecoderException
- If the decoding failed
NamingException
Copyright © 2004-2012. All Rights Reserved.