org.apache.directory.shared.ldap.codec.controls.replication.syncDoneValue
Class SyncDoneValueControlDecoder

java.lang.Object
  extended by org.apache.directory.shared.asn1.ber.Asn1Decoder
      extended by org.apache.directory.shared.ldap.codec.controls.replication.syncDoneValue.SyncDoneValueControlDecoder
All Implemented Interfaces:
ITLVBerDecoderMBean, ControlDecoder

public class SyncDoneValueControlDecoder
extends Asn1Decoder
implements ControlDecoder

A ASN.1 decoder for SyncDoneValueControl.

Version:
$Rev$, $Date$
Author:
Apache Directory Project

Constructor Summary
SyncDoneValueControlDecoder()
           
 
Method Summary
 Asn1Object decode(byte[] controlBytes)
          Decode the syncDoneValueControl
 java.lang.String getControlType()
          The control type this decoder decodes.
 
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

SyncDoneValueControlDecoder

public SyncDoneValueControlDecoder()
Method Detail

decode

public Asn1Object decode(byte[] controlBytes)
                  throws DecoderException
Decode the syncDoneValueControl

Specified by:
decode in interface ControlDecoder
Parameters:
controlBytes - The bytes array which contains the encoded syncDoneValueControl
Returns:
A valid SyncDoneValueControl object
Throws:
DecoderException - If the decoding found an error
javax.naming.NamingException - It will never be throw by this method

getControlType

public java.lang.String getControlType()
Description copied from interface: ControlDecoder
The control type this decoder decodes.

Specified by:
getControlType in interface ControlDecoder
Returns:
the syncDoneValueControl's OID


Copyright © 2004-2009 The Apache Software Foundation. All Rights Reserved.