Package org.ldaptive
Interface Operation<Q extends Request,S extends Result>
-
- Type Parameters:
Q- type of requestS- type of result
- All Known Implementing Classes:
AbstractOperation,AddOperation,BindOperation,CompareOperation,DeleteOperation,ExtendedOperation,ModifyDnOperation,ModifyOperation,SearchOperation
public interface Operation<Q extends Request,S extends Result>Operation interface.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Sexecute(Q request)Sends an asynchronous request and waits for the response.OperationHandle<Q,S>send(Q request)Sends an asynchronous request and does not wait for a response.
-
-
-
Method Detail
-
send
OperationHandle<Q,S> send(Q request) throws LdapException
Sends an asynchronous request and does not wait for a response.- Parameters:
request- operation request- Returns:
- operation result
- Throws:
LdapException- if the operation fails
-
execute
S execute(Q request) throws LdapException
Sends an asynchronous request and waits for the response.- Parameters:
request- operation request- Returns:
- operation result
- Throws:
LdapException- if the operation fails
-
-