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, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
abandonAsync, addAsync, addConnectionEventListener, bindAsync, close, compareAsync, delete, deleteAsync, extendedRequestAsync, isClosed, isValid, modifyAsync, modifyDnAsync, removeConnectionEventListener, searchAsync
protected AbstractAsynchronousConnection()
public Result add(AddRequest request) throws LdapException
Connection
request
- The add request.LdapException
- If the result code indicates that the request failed for some
reason.public BindResult bind(BindRequest request) throws LdapException
Connection
request
- The bind request.LdapException
- If the result code indicates that the request failed for some
reason.public CompareResult compare(CompareRequest request) throws LdapException
Connection
request
- The compare request.LdapException
- If the result code indicates that the request failed for some
reason.public Result delete(DeleteRequest request) throws LdapException
Connection
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
Connection
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
Connection
request
- The modify request.LdapException
- If the result code indicates that the request failed for some
reason.public Result modifyDn(ModifyDnRequest request) throws LdapException
Connection
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
Connection
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 2010-2022 ForgeRock AS.