Class GracefulShutdownRequestContainer
java.lang.Object
org.apache.directory.api.asn1.ber.AbstractContainer
org.apache.directory.api.ldap.extras.extended.ads_impl.gracefulShutdown.GracefulShutdownRequestContainer
- All Implemented Interfaces:
org.apache.directory.api.asn1.ber.Asn1Container
public class GracefulShutdownRequestContainer
extends org.apache.directory.api.asn1.ber.AbstractContainer
A container for the GracefulShutdown codec.
- Author:
- Apache Directory Project
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new GracefulShutdownContainer object. -
Method Summary
Modifier and TypeMethodDescriptionvoidclean()Clean the container for the next decoding.org.apache.directory.api.ldap.extras.extended.gracefulShutdown.GracefulShutdownRequestGet the Graceful Shutdown object.voidsetGracefulShutdownRequest(org.apache.directory.api.ldap.extras.extended.gracefulShutdown.GracefulShutdownRequest gracefulShutdown) Set a GracefulShutdown 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 Details
-
GracefulShutdownRequestContainer
public GracefulShutdownRequestContainer()Creates a new GracefulShutdownContainer object. We will store one grammar, it's enough ...
-
-
Method Details
-
getGracefulShutdownRequest
public org.apache.directory.api.ldap.extras.extended.gracefulShutdown.GracefulShutdownRequest getGracefulShutdownRequest()Get the Graceful Shutdown object.- Returns:
- Returns the Graceful Shutdown object.
-
setGracefulShutdownRequest
public void setGracefulShutdownRequest(org.apache.directory.api.ldap.extras.extended.gracefulShutdown.GracefulShutdownRequest gracefulShutdown) Set a GracefulShutdown Object into the container. It will be completed by the ldapDecoder.- Parameters:
gracefulShutdown- the GracefulShutdown to set.
-
clean
public void clean()Clean the container for the next decoding.- Overrides:
cleanin classorg.apache.directory.api.asn1.ber.AbstractContainer
-