Class ExtendedFuture
- java.lang.Object
-
- org.apache.directory.ldap.client.api.future.MultipleResponseFuture<Response>
-
- org.apache.directory.ldap.client.api.future.ExtendedFuture
-
- All Implemented Interfaces:
Future<Response>
,ResponseFuture<Response>
public class ExtendedFuture extends MultipleResponseFuture<Response>
A Future to manage ExtendedRequests.- Author:
- Apache Directory Project
-
-
Constructor Summary
Constructors Constructor Description ExtendedFuture(LdapConnection connection, int messageId)
Creates a new instance of ExtendedFuture.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExtendedRequest
getExtendedRequest()
void
set(ExtendedResponse response)
Set the associated Response in this Futurevoid
setExtendedRequest(ExtendedRequest extendedRequest)
String
toString()
-
Methods inherited from class org.apache.directory.ldap.client.api.future.MultipleResponseFuture
cancel, cancel, get, get, getCause, isCancelled, isDone, set, setCause
-
-
-
-
Constructor Detail
-
ExtendedFuture
public ExtendedFuture(LdapConnection connection, int messageId)
Creates a new instance of ExtendedFuture.- Parameters:
connection
- the LDAP connectionmessageId
- The associated messageId
-
-
Method Detail
-
getExtendedRequest
public ExtendedRequest getExtendedRequest()
- Returns:
- the extendedRequest
-
setExtendedRequest
public void setExtendedRequest(ExtendedRequest extendedRequest)
- Parameters:
extendedRequest
- the extendedRequest to set
-
set
public void set(ExtendedResponse response) throws InterruptedException
Set the associated Response in this Future- Parameters:
response
- The response to add into the Future- Throws:
InterruptedException
- if the operation has been cancelled by client
-
toString
public String toString()
- Overrides:
toString
in classMultipleResponseFuture<Response>
-
-