Class StartTransactionFactory

java.lang.Object
org.apache.directory.api.ldap.codec.api.AbstractExtendedOperationFactory
org.apache.directory.api.ldap.extras.extended.ads_impl.startTransaction.StartTransactionFactory
All Implemented Interfaces:
org.apache.directory.api.ldap.codec.api.ExtendedOperationFactory

public class StartTransactionFactory extends org.apache.directory.api.ldap.codec.api.AbstractExtendedOperationFactory
An ExtendedOperationFactory for creating StartTransaction extended request response pairs.
Author:
Apache Directory Project
  • Field Summary

    Fields inherited from class org.apache.directory.api.ldap.codec.api.AbstractExtendedOperationFactory

    codec, LOG, oid
  • Constructor Summary

    Constructors
    Constructor
    Description
    StartTransactionFactory(org.apache.directory.api.ldap.codec.api.LdapApiService codec)
    Creates a new instance of StartTransactionFactory.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    encodeValue(org.apache.directory.api.asn1.util.Asn1Buffer buffer, org.apache.directory.api.ldap.model.message.ExtendedResponse extendedResponse)
    org.apache.directory.api.ldap.extras.extended.startTransaction.StartTransactionRequest
    org.apache.directory.api.ldap.extras.extended.startTransaction.StartTransactionResponse
    org.apache.directory.api.ldap.extras.extended.startTransaction.StartTransactionResponse
    newResponse(byte[] encodedValue)

    Methods inherited from class org.apache.directory.api.ldap.codec.api.AbstractExtendedOperationFactory

    decodeValue, decodeValue, encodeValue, getOid, newRequest

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • StartTransactionFactory

      public StartTransactionFactory(org.apache.directory.api.ldap.codec.api.LdapApiService codec)
      Creates a new instance of StartTransactionFactory.
      Parameters:
      codec - The codec for this factory.
  • Method Details

    • newRequest

      public org.apache.directory.api.ldap.extras.extended.startTransaction.StartTransactionRequest newRequest()
    • newResponse

      public org.apache.directory.api.ldap.extras.extended.startTransaction.StartTransactionResponse newResponse()
    • newResponse

      public org.apache.directory.api.ldap.extras.extended.startTransaction.StartTransactionResponse newResponse(byte[] encodedValue)
      Specified by:
      newResponse in interface org.apache.directory.api.ldap.codec.api.ExtendedOperationFactory
      Overrides:
      newResponse in class org.apache.directory.api.ldap.codec.api.AbstractExtendedOperationFactory
    • encodeValue

      public void encodeValue(org.apache.directory.api.asn1.util.Asn1Buffer buffer, org.apache.directory.api.ldap.model.message.ExtendedResponse extendedResponse)
      Specified by:
      encodeValue in interface org.apache.directory.api.ldap.codec.api.ExtendedOperationFactory
      Overrides:
      encodeValue in class org.apache.directory.api.ldap.codec.api.AbstractExtendedOperationFactory