Class CancelRequestContainer

java.lang.Object
org.apache.directory.api.asn1.ber.AbstractContainer
org.apache.directory.api.ldap.extras.extended.ads_impl.cancel.CancelRequestContainer
All Implemented Interfaces:
org.apache.directory.api.asn1.ber.Asn1Container

public class CancelRequestContainer extends org.apache.directory.api.asn1.ber.AbstractContainer
A container for the Cancel codec.
Author:
Apache Directory Project
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates a new CancelContainer object.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Clean the container for the next decoding.
    org.apache.directory.api.ldap.extras.extended.cancel.CancelRequest
    Get the cancel request
    void
    setCancelRequest(org.apache.directory.api.ldap.extras.extended.cancel.CancelRequest cancelRequest)
    Set a Cancel 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
  • Constructor Details

    • CancelRequestContainer

      public CancelRequestContainer()
      Creates a new CancelContainer object. We will store one grammar, it's enough ...
  • Method Details

    • getCancelRequest

      public org.apache.directory.api.ldap.extras.extended.cancel.CancelRequest getCancelRequest()
      Get the cancel request
      Returns:
      Returns the Cancel object.
    • setCancelRequest

      public void setCancelRequest(org.apache.directory.api.ldap.extras.extended.cancel.CancelRequest cancelRequest)
      Set a Cancel Object into the container. It will be completed by the ldapDecoder.
      Parameters:
      cancelRequest - the Cancel to set.
    • clean

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