public abstract class AbstractAsynchronousConnection extends AbstractConnection
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractAsynchronousConnection()
Creates a new abstract asynchronous connection.
|
| Modifier and Type | Method and Description |
|---|---|
Result |
add(AddRequest request)
Adds an entry to the Directory Server using the provided add request.
|
BindResult |
bind(BindRequest request)
Authenticates to the Directory Server using the provided bind request.
|
CompareResult |
compare(CompareRequest request)
Compares an entry in the Directory Server using the provided compare
request.
|
Result |
delete(DeleteRequest request)
Deletes an entry from the Directory Server using the provided delete
request.
|
<R extends ExtendedResult> |
extendedRequest(ExtendedRequest<R> request,
IntermediateResponseHandler handler)
Requests that the Directory Server performs the provided extended
request, optionally listening for any intermediate responses.
|
Result |
modify(ModifyRequest request)
Modifies an entry in the Directory Server using the provided modify
request.
|
Result |
modifyDN(ModifyDNRequest request)
Renames an entry in the Directory Server using the provided modify DN
request.
|
Result |
search(SearchRequest request,
SearchResultHandler handler)
Searches the Directory Server using the provided search request.
|
add, add, addAsync, applyChange, applyChangeAsync, applyChangeAsync, bind, bindAsync, close, compare, compareAsync, delete, deleteAsync, deleteSubtree, extendedRequest, extendedRequest, extendedRequestAsync, modify, modifyAsync, modifyDN, modifyDNAsync, readEntry, readEntry, readEntryAsync, search, search, search, search, searchAsync, searchSingleEntry, searchSingleEntry, searchSingleEntryAsync, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitabandonAsync, addAsync, addConnectionEventListener, bindAsync, close, compareAsync, deleteAsync, extendedRequestAsync, isClosed, isValid, modifyAsync, modifyDNAsync, removeConnectionEventListener, searchAsyncprotected AbstractAsynchronousConnection()
public Result add(AddRequest request) throws LdapException
request - The add request.LdapException - If the result code indicates that the request failed for some
reason.public BindResult bind(BindRequest request) throws LdapException
request - The bind request.LdapException - If the result code indicates that the request failed for some
reason.public CompareResult compare(CompareRequest request) throws LdapException
request - The compare request.LdapException - If the result code indicates that the request failed for some
reason.public Result delete(DeleteRequest request) throws LdapException
request - The delete request.LdapException - If the result code indicates that the request failed for some
reason.public <R extends ExtendedResult> R extendedRequest(ExtendedRequest<R> request, IntermediateResponseHandler handler) throws LdapException
R - The type of result returned by the extended request.request - The extended request.handler - An intermediate response handler which can be used to process
any intermediate responses as they are received, may be
null.LdapException - If the result code indicates that the request failed for some
reason.public Result modify(ModifyRequest request) throws LdapException
request - The modify request.LdapException - If the result code indicates that the request failed for some
reason.public Result modifyDN(ModifyDNRequest request) throws LdapException
request - The modify DN request.LdapException - If the result code indicates that the request failed for some
reason.public Result search(SearchRequest request, SearchResultHandler handler) throws LdapException
request - The search request.handler - A search result handler which can be used to process the
search result entries and references as they are received, may
be null.LdapException - If the result code indicates that the request failed for some
reason.Copyright © 2011-2015 ForgeRock AS. All Rights Reserved.