org.ldaptive.provider
Interface ResponseListener

All Known Subinterfaces:
SearchListener
All Known Implementing Classes:
AsyncSearchOperation.AsyncSearchListener

public interface ResponseListener

Response listener.

Version:
$Revision: 2885 $ $Date: 2014-02-05 16:28:49 -0500 (Wed, 05 Feb 2014) $
Author:
Middleware Services

Method Summary
 void asyncRequestReceived(AsyncRequest request)
          Invoked when an asynchronous operation has begun.
 void exceptionReceived(Exception exception)
          Invoked when an exception is thrown from a provider indicating the operation cannot be completed.
 void responseReceived(Response<Void> response)
          Invoked when a response is received from a provider indicating the operation has completed.
 

Method Detail

asyncRequestReceived

void asyncRequestReceived(AsyncRequest request)
Invoked when an asynchronous operation has begun.

Parameters:
request - to abandon this operation

responseReceived

void responseReceived(Response<Void> response)
Invoked when a response is received from a provider indicating the operation has completed.

Parameters:
response - containing the result

exceptionReceived

void exceptionReceived(Exception exception)
Invoked when an exception is thrown from a provider indicating the operation cannot be completed.

Parameters:
exception - thrown from the async operation


Copyright © 2003-2017 Virginia Tech. All Rights Reserved.