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

    Constructors
    Constructor
    Description
    SyncStateValueContainer(org.apache.directory.api.ldap.model.message.Control control)
    Creates a new SyncStateValueControlContainer object.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Clean the container
    org.apache.directory.api.ldap.extras.controls.syncrepl.syncState.SyncStateValue
    Get the syncStateValue control.
    void
    setControl(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, updateParent

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods 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:
      setControl in interface org.apache.directory.api.ldap.codec.api.ControlContainer
      Parameters:
      control - the SyncStateValueControl to set.
    • clean

      public void clean()
      Clean the container
      Overrides:
      clean in class org.apache.directory.api.asn1.ber.AbstractContainer