public class ExtendedFuture extends MultipleResponseFuture<org.apache.directory.api.ldap.model.message.Response>
| Modifier and Type | Field and Description |
|---|---|
(package private) org.apache.directory.api.ldap.model.message.ExtendedRequest |
extendedRequest
The extendedRequest : we need it to find which request is associated
with a response, when this response has no name
|
cancelled, cause, connection, messageId, queue| Constructor and Description |
|---|
ExtendedFuture(LdapConnection connection,
int messageId)
Creates a new instance of ExtendedFuture.
|
| Modifier and Type | Method and Description |
|---|---|
org.apache.directory.api.ldap.model.message.ExtendedRequest |
getExtendedRequest() |
void |
set(org.apache.directory.api.ldap.model.message.ExtendedResponse response)
Set the associated Response in this Future
|
void |
setExtendedRequest(org.apache.directory.api.ldap.model.message.ExtendedRequest extendedRequest) |
String |
toString() |
cancel, cancel, get, get, getCause, isCancelled, isDone, set, setCauseorg.apache.directory.api.ldap.model.message.ExtendedRequest extendedRequest
public ExtendedFuture(LdapConnection connection, int messageId)
connection - the LDAP connectionmessageId - The associated messageIdpublic org.apache.directory.api.ldap.model.message.ExtendedRequest getExtendedRequest()
public void setExtendedRequest(org.apache.directory.api.ldap.model.message.ExtendedRequest extendedRequest)
extendedRequest - the extendedRequest to setpublic void set(org.apache.directory.api.ldap.model.message.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<org.apache.directory.api.ldap.model.message.Response>Copyright © 2009–2019 The Apache Software Foundation. All rights reserved.