Class EndTransactionResponseContainer

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

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

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

    Modifier and Type
    Method
    Description
    void
    Clean the container for the next decoding.
    static List<org.apache.directory.api.ldap.model.message.Control>
    decode(byte[] controlsBytes)
    Decodes raw ASN.1 encoded bytes into an Asn1Object for the controls.
    org.apache.directory.api.ldap.extras.extended.endTransaction.UpdateControls
    Get the currentUpdateControls
    org.apache.directory.api.ldap.extras.extended.endTransaction.EndTransactionResponse
    Get the EndTransactionResponse instance
    void
    setCurrentControls(org.apache.directory.api.ldap.extras.extended.endTransaction.UpdateControls currentUpdateControls)
    set the currentUpdateControls
    void
    setEndTransactionResponse(org.apache.directory.api.ldap.extras.extended.endTransaction.EndTransactionResponse endTransactionResponse)
    Set a EndTransactionResponse 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

    • EndTransactionResponseContainer

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

    • getEndTransactionResponse

      public org.apache.directory.api.ldap.extras.extended.endTransaction.EndTransactionResponse getEndTransactionResponse()
      Get the EndTransactionResponse instance
      Returns:
      Returns the EndTransactionResponse instance.
    • setEndTransactionResponse

      public void setEndTransactionResponse(org.apache.directory.api.ldap.extras.extended.endTransaction.EndTransactionResponse endTransactionResponse)
      Set a EndTransactionResponse Object into the container. It will be completed by the ldapDecoder.
      Parameters:
      endTransactionResponse - the EndTransactionResponse to set.
    • getCurrentUpdateControls

      public org.apache.directory.api.ldap.extras.extended.endTransaction.UpdateControls getCurrentUpdateControls()
      Get the currentUpdateControls
      Returns:
      the currentUpdateControls
    • setCurrentControls

      public void setCurrentControls(org.apache.directory.api.ldap.extras.extended.endTransaction.UpdateControls currentUpdateControls)
      set the currentUpdateControls
      Parameters:
      currentUpdateControls - the currentUpdateControls to set
    • clean

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

      public static List<org.apache.directory.api.ldap.model.message.Control> decode(byte[] controlsBytes) throws org.apache.directory.api.asn1.DecoderException
      Decodes raw ASN.1 encoded bytes into an Asn1Object for the controls.
      Parameters:
      controlsBytes - the encoded controls bytes
      Returns:
      the decoded controls
      Throws:
      org.apache.directory.api.asn1.DecoderException - if anything goes wrong