org.apache.directory.shared.ldap.extras.controls.syncrepl_impl
Class SyncDoneValueContainer

java.lang.Object
  extended by org.apache.directory.shared.asn1.ber.AbstractContainer
      extended by org.apache.directory.shared.ldap.extras.controls.syncrepl_impl.SyncDoneValueContainer
All Implemented Interfaces:
Asn1Container

public class SyncDoneValueContainer
extends AbstractContainer

ASN.1 container for SyncDoneValueControl.

Author:
Apache Directory Project

Field Summary
 
Fields inherited from class org.apache.directory.shared.asn1.ber.AbstractContainer
decodeBytes, grammar, stateStack
 
Constructor Summary
SyncDoneValueContainer(LdapCodecService codec)
          Creates a new SyncDoneValueControlContainer object.
SyncDoneValueContainer(LdapCodecService codec, SyncDoneValueDecorator control)
          Creates a new SyncDoneValueControlContainer object.
 
Method Summary
 void clean()
          clean the container
 LdapCodecService getCodecService()
           
 SyncDoneValueDecorator getSyncDoneValueControl()
           
 void setSyncDoneValueControl(SyncDoneValueDecorator control)
          Set a SyncDoneValueControlCodec Object into the container.
 
Methods inherited from class org.apache.directory.shared.asn1.ber.AbstractContainer
getCurrentTLV, getDecodeBytes, getGrammar, getMaxPDUSize, getNewTlvId, getParentTLV, getState, getStream, getTlvId, getTransition, incrementDecodeBytes, isGathering, isGrammarEndAllowed, rewind, setCurrentTLV, setGathering, setGrammarEndAllowed, setMaxPDUSize, setParentTLV, setState, setStream, setTransition, updateParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SyncDoneValueContainer

public SyncDoneValueContainer(LdapCodecService codec)
Creates a new SyncDoneValueControlContainer object.


SyncDoneValueContainer

public SyncDoneValueContainer(LdapCodecService codec,
                              SyncDoneValueDecorator control)
Creates a new SyncDoneValueControlContainer object.

Method Detail

getSyncDoneValueControl

public SyncDoneValueDecorator getSyncDoneValueControl()
Returns:
the SyncDoneValueControlCodec object

setSyncDoneValueControl

public void setSyncDoneValueControl(SyncDoneValueDecorator control)
Set a SyncDoneValueControlCodec Object into the container. It will be completed by the ldapDecoder.

Parameters:
control - the SyncDoneValueControlCodec to set.

getCodecService

public LdapCodecService getCodecService()

clean

public void clean()
clean the container

Overrides:
clean in class AbstractContainer


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