com.unboundid.ldap.sdk
Interface AsyncResultListener

All Known Implementing Classes:
BasicAsyncResultListener

@Extensible
@ThreadSafety(level=INTERFACE_NOT_THREADSAFE)
public interface AsyncResultListener

This interface provides a mechanism for notifying a client when the result for an asynchronous operation has been received.


Method Summary
 void ldapResultReceived(AsyncRequestID requestID, LDAPResult ldapResult)
          Indicates that the provided LDAP result has been received in response to an asynchronous operation.
 

Method Detail

ldapResultReceived

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.

Parameters:
requestID - The async request ID of the request for which the response was received.
ldapResult - The LDAP result that has been received.