Class SyncStateValueContainer
java.lang.Object
org.apache.directory.api.asn1.ber.AbstractContainer
org.apache.directory.api.ldap.extras.controls.syncrepl_impl.SyncStateValueContainer
- All Implemented Interfaces:
org.apache.directory.api.asn1.ber.Asn1Container, org.apache.directory.api.ldap.codec.api.ControlContainer
public class SyncStateValueContainer
extends org.apache.directory.api.asn1.ber.AbstractContainer
implements org.apache.directory.api.ldap.codec.api.ControlContainer
A container for the SyncStateValue control
- Author:
- Apache Directory Project
-
Constructor Summary
ConstructorsConstructorDescriptionSyncStateValueContainer(org.apache.directory.api.ldap.model.message.Control control) Creates a new SyncStateValueControlContainer object. -
Method Summary
Modifier and TypeMethodDescriptionvoidclean()Clean the containerorg.apache.directory.api.ldap.extras.controls.syncrepl.syncState.SyncStateValueGet the syncStateValue control.voidsetControl(org.apache.directory.api.ldap.model.message.Control control) Set a SyncStateValueControl 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, updateParentMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.directory.api.asn1.ber.Asn1Container
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 Details
-
SyncStateValueContainer
public SyncStateValueContainer(org.apache.directory.api.ldap.model.message.Control control) Creates a new SyncStateValueControlContainer object.- Parameters:
control- The control to store
-
-
Method Details
-
getSyncStateValue
public org.apache.directory.api.ldap.extras.controls.syncrepl.syncState.SyncStateValue getSyncStateValue()Get the syncStateValue control.- Returns:
- Returns the syncStateValue control.
-
setControl
public void setControl(org.apache.directory.api.ldap.model.message.Control control) Set a SyncStateValueControl Object into the container. It will be completed by the ldapDecoder.- Specified by:
setControlin interfaceorg.apache.directory.api.ldap.codec.api.ControlContainer- Parameters:
control- the SyncStateValueControl to set.
-
clean
public void clean()Clean the container- Overrides:
cleanin classorg.apache.directory.api.asn1.ber.AbstractContainer
-