org.apache.directory.shared.ldap.codec.extended.operations
Class GracefulShutdownContainer

java.lang.Object
  extended byorg.apache.directory.shared.asn1.ber.AbstractContainer
      extended byorg.apache.directory.shared.ldap.codec.extended.operations.GracefulShutdownContainer
All Implemented Interfaces:
org.apache.directory.shared.asn1.ber.IAsn1Container

public class GracefulShutdownContainer
extends org.apache.directory.shared.asn1.ber.AbstractContainer
implements org.apache.directory.shared.asn1.ber.IAsn1Container

A container for the GracefulShutdown codec.

Author:
Apache Directory Project

Field Summary
 
Fields inherited from class org.apache.directory.shared.asn1.ber.AbstractContainer
currentGrammar, grammarEndAllowed, grammarPopAllowed, grammars, grammarStack, nbGrammars, parentTLV, popAllowedStack, state, states, stateStack, tlv, transition
 
Constructor Summary
GracefulShutdownContainer()
          Creates a new GracefulShutdownContainer object.
 
Method Summary
 void clean()
          Clean the container for the next decoding.
 GracefulShutdown getGracefulShutdown()
           
 void setGracefulShutdown(GracefulShutdown gracefulShutdown)
          Set a GracefulShutdown Object into the container.
 
Methods inherited from class org.apache.directory.shared.asn1.ber.AbstractContainer
addGrammar, getCurrentGrammar, getCurrentGrammarType, getCurrentTLV, getGrammar, getParentTLV, getState, getStates, getTransition, grammarEndAllowed, grammarPopAllowed, isGrammarEndAllowed, isGrammarPopAllowed, restoreGrammar, setCurrentTLV, setInitGrammar, setParentTLV, setState, setTransition, switchGrammar
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.directory.shared.asn1.ber.IAsn1Container
addGrammar, getCurrentGrammar, getCurrentGrammarType, getCurrentTLV, getGrammar, getParentTLV, getState, getStates, getTransition, grammarEndAllowed, grammarPopAllowed, isGrammarEndAllowed, isGrammarPopAllowed, restoreGrammar, setCurrentTLV, setInitGrammar, setParentTLV, setState, setTransition, switchGrammar
 

Constructor Detail

GracefulShutdownContainer

public GracefulShutdownContainer()
Creates a new GracefulShutdownContainer object. We will store one grammar, it's enough ...

Method Detail

getGracefulShutdown

public GracefulShutdown getGracefulShutdown()
Returns:
Returns the Graceful Shutdown object.

setGracefulShutdown

public void setGracefulShutdown(GracefulShutdown gracefulShutdown)
Set a GracefulShutdown Object into the container. It will be completed by the ldapDecoder.


clean

public void clean()
Clean the container for the next decoding.



Copyright © 2003-2006 . All Rights Reserved.