@Mutable @ThreadSafety(level=NOT_THREADSAFE) public final class BasicAsyncCompareResultListener extends java.lang.Object implements AsyncCompareResultListener, java.io.Serializable
AsyncCompareResultListenerinterface that will merely set the result object to a local variable that can be accessed through a getter method. It provides a listener that may be easily used when processing an asynchronous compare operation using the
|Constructor and Description|
Creates a new instance of this class for use in processing a single compare operation.
|Modifier and Type||Method and Description|
Indicates that the provided LDAP result has been received in response to an asynchronous compare operation.
Retrieves the result that has been received for the associated asynchronous compare operation, if it has been received.
@InternalUseOnly public void compareResultReceived(@NotNull AsyncRequestID requestID, @NotNull CompareResult compareResult)
@Nullable public CompareResult getCompareResult()
nullif no response has been received yet.