org.apache.directory.shared.ldap.codec.controls.replication.syncInfoValue
Class SyncInfoValueControlDecoder

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

public class SyncInfoValueControlDecoder
extends Asn1Decoder
implements ControlDecoder

A decoder for SyncInfoValueControl.

Version:
$Rev: 741888 $, $Date: 2009-02-07 13:57:03 +0100 (Sat, 07 Feb 2009) $,
Author:
Apache Directory Project

Constructor Summary
SyncInfoValueControlDecoder()
           
 
Method Summary
 Asn1Object decode(byte[] controlBytes, Control control)
          Decode the syncInfoValue control
 
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

SyncInfoValueControlDecoder

public SyncInfoValueControlDecoder()
Method Detail

decode

public Asn1Object decode(byte[] controlBytes,
                         Control control)
                  throws DecoderException
Decode the syncInfoValue control

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


Copyright © 2003-2011 Apache Software Foundation. All Rights Reserved.