Class BasicAsyncResultListener

    • Constructor Summary

      Constructors 
      Constructor Description
      BasicAsyncResultListener()
      Creates a new instance of this class for use in processing a single add, delete, modify, or modify DN operation.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      LDAPResult getLDAPResult()
      Retrieves the result that has been received for the associated asynchronous operation, if it has been received.
      void ldapResultReceived​(AsyncRequestID requestID, LDAPResult ldapResult)
      Indicates that the provided LDAP result has been received in response to an asynchronous operation.
      • Methods inherited from class java.lang.Object

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

      • BasicAsyncResultListener

        public BasicAsyncResultListener()
        Creates a new instance of this class for use in processing a single add, delete, modify, or modify DN operation. A single basic async result listener object may not be used for multiple operations.
    • Method Detail

      • ldapResultReceived

        @InternalUseOnly
        public void ldapResultReceived​(AsyncRequestID requestID,
                                       LDAPResult ldapResult)
        Indicates that the provided LDAP result has been received in response to an asynchronous operation. Note that automatic referral following is not supported for asynchronous operations, so it is possible that this result could include a referral.
        Specified by:
        ldapResultReceived in interface AsyncResultListener
        Parameters:
        requestID - The async request ID of the request for which the response was received.
        ldapResult - The LDAP result that has been received.
      • getLDAPResult

        public LDAPResult getLDAPResult()
        Retrieves the result that has been received for the associated asynchronous operation, if it has been received.
        Returns:
        The result that has been received for the associated asynchronous operation, or null if no response has been received yet.