Class SyncDoneValueContainer
- java.lang.Object
-
- org.apache.directory.api.asn1.ber.AbstractContainer
-
- org.apache.directory.api.ldap.extras.controls.syncrepl_impl.SyncDoneValueContainer
-
- All Implemented Interfaces:
Asn1Container
public class SyncDoneValueContainer extends AbstractContainer
ASN.1 container for SyncDoneValueControl.- Author:
- Apache Directory Project
-
-
Constructor Summary
Constructors Constructor Description SyncDoneValueContainer(LdapApiService codec)
Creates a new SyncDoneValueControlContainer object.SyncDoneValueContainer(LdapApiService codec, SyncDoneValue control)
Creates a new SyncDoneValueControlContainer object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clean()
clean the containerLdapApiService
getCodecService()
SyncDoneValue
getSyncDoneValueControl()
void
setSyncDoneValueControl(SyncDoneValue control)
Set a SyncDoneValueControlCodec Object into the container.-
Methods inherited from class org.apache.directory.api.asn1.ber.AbstractContainer
getCurrentTLV, getDecodedBytes, getGrammar, getMaxPDUSize, getNewTlvId, getParentTLV, getState, getStream, getTlvId, getTransition, incrementDecodedBytes, isGathering, isGrammarEndAllowed, rewind, setCurrentTLV, setDecodedBytes, setGathering, setGrammar, setGrammarEndAllowed, setMaxPDUSize, setParentTLV, setState, setStream, setTransition, updateParent
-
-
-
-
Constructor Detail
-
SyncDoneValueContainer
public SyncDoneValueContainer(LdapApiService codec)
Creates a new SyncDoneValueControlContainer object.- Parameters:
codec
- The LDAP Service to use
-
SyncDoneValueContainer
public SyncDoneValueContainer(LdapApiService codec, SyncDoneValue control)
Creates a new SyncDoneValueControlContainer object.- Parameters:
codec
- The LDAP Service to usecontrol
- The control to decorate
-
-
Method Detail
-
getSyncDoneValueControl
public SyncDoneValue getSyncDoneValueControl()
- Returns:
- the SyncDoneValueControlCodec object
-
setSyncDoneValueControl
public void setSyncDoneValueControl(SyncDoneValue control)
Set a SyncDoneValueControlCodec Object into the container. It will be completed by the ldapDecoder.- Parameters:
control
- the SyncDoneValueControlCodec to set.
-
getCodecService
public LdapApiService getCodecService()
- Returns:
- The LDAP API service
-
clean
public void clean()
clean the container- Overrides:
clean
in classAbstractContainer
-
-