public class ExtendedFuture extends MultipleResponseFuture<Response>
Constructor and Description |
---|
ExtendedFuture(LdapConnection connection,
int messageId)
Creates a new instance of ExtendedFuture.
|
Modifier and Type | Method and Description |
---|---|
ExtendedRequest |
getExtendedRequest() |
void |
set(ExtendedResponse response)
Set the associated Response in this Future
|
void |
setExtendedRequest(ExtendedRequest extendedRequest) |
String |
toString() |
cancel, cancel, get, get, getCause, isCancelled, isDone, set, setCause
public ExtendedFuture(LdapConnection connection, int messageId)
connection
- the LDAP connectionmessageId
- The associated messageIdpublic ExtendedRequest getExtendedRequest()
public void setExtendedRequest(ExtendedRequest extendedRequest)
extendedRequest
- the extendedRequest to setpublic void set(ExtendedResponse response) throws InterruptedException
response
- The response to add into the FutureInterruptedException
- if the operation has been cancelled by clientpublic String toString()
toString
in class MultipleResponseFuture<Response>
Copyright © 2003–2021 The Apache Software Foundation. All rights reserved.