org.apache.directory.api.ldap.extras.controls.syncrepl_impl
Class SyncInfoValueContainer

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

public class SyncInfoValueContainer
extends AbstractContainer

A container for the SyncInfoValue control

Author:
Apache Directory Project

Field Summary
 
Fields inherited from class org.apache.directory.api.asn1.ber.AbstractContainer
decodeBytes, grammar, stateStack
 
Constructor Summary
SyncInfoValueContainer(LdapApiService codec)
          Creates a new SyncInfoValueControlContainer object.
SyncInfoValueContainer(LdapApiService codec, SyncInfoValue control)
          Creates a new SyncInfoValueControlContainer object.
 
Method Summary
 void clean()
          Clean the container
 LdapApiService getCodecService()
           
 SyncInfoValue getSyncInfoValueControl()
           
 void setSyncInfoValueControl(SyncInfoValue control)
          Set a SyncInfoValueControl Object into the container.
 
Methods inherited from class org.apache.directory.api.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

SyncInfoValueContainer

public SyncInfoValueContainer(LdapApiService codec)
Creates a new SyncInfoValueControlContainer object. We will store one grammar, it's enough ...


SyncInfoValueContainer

public SyncInfoValueContainer(LdapApiService codec,
                              SyncInfoValue control)
Creates a new SyncInfoValueControlContainer object. We will store one grammar, it's enough ...

Method Detail

getSyncInfoValueControl

public SyncInfoValue getSyncInfoValueControl()
Returns:
Returns the syncInfoValue control.

setSyncInfoValueControl

public void setSyncInfoValueControl(SyncInfoValue control)
Set a SyncInfoValueControl Object into the container. It will be completed by the ldapDecoder.

Parameters:
control - the SyncInfoValueControlCodec to set.

getCodecService

public LdapApiService getCodecService()

clean

public void clean()
Clean the container

Overrides:
clean in class AbstractContainer


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