com.unboundid.ldap.sdk
Interface AsyncCompareResultListener

All Known Implementing Classes:
BasicAsyncCompareResultListener

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

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


Method Summary
 void compareResultReceived(AsyncRequestID requestID, CompareResult compareResult)
          Indicates that the provided LDAP result has been received in response to an asynchronous compare operation.
 

Method Detail

compareResultReceived

void compareResultReceived(AsyncRequestID requestID,
                           CompareResult compareResult)
Indicates that the provided LDAP result has been received in response to an asynchronous compare 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.
compareResult - The compare result that has been received.