public interface ClientServiceAsync extends ClientService
| Modifier and Type | Method and Description |
|---|---|
java.util.concurrent.Future<Client> |
getClientAsync(GetClientRequest getClientRequest)
Get client from the given
client request instance. |
java.util.concurrent.Future<Client> |
getClientAsync(GetClientRequest getClientRequest,
AsyncHandler<GetClientRequest,Client> asyncHandler)
Get client from the given
client request instance. |
java.util.concurrent.Future<java.lang.Void> |
setSessionUrlAsync(SetSessionUrlRequest setSessionUrlRequest)
Sets the session URL from the given
set session URL |
java.util.concurrent.Future<java.lang.Void> |
setSessionUrlAsync(SetSessionUrlRequest setSessionUrlRequest,
AsyncHandler<SetSessionUrlRequest,java.lang.Void> asyncHandler)
Sets the session URL from the given
set session URL |
getClient, setSessionUrlsetEndpoint, shutdownjava.util.concurrent.Future<Client> getClientAsync(GetClientRequest getClientRequest) throws AuthServiceException
client request instance.getClientRequest - the given client request instance.Client instance.AuthServiceException - if an error occurs during getting client.java.util.concurrent.Future<Client> getClientAsync(GetClientRequest getClientRequest, AsyncHandler<GetClientRequest,Client> asyncHandler) throws AuthServiceException
client request instance.getClientRequest - the given client request instance.asyncHandler - callback handler for events in the life-cycle of the request.
Users could provide the implementation of the for callback
methods in this interface to process the operation result or
handle the exception.Client instance.AuthServiceException - if an error occurs during getting client.java.util.concurrent.Future<java.lang.Void> setSessionUrlAsync(SetSessionUrlRequest setSessionUrlRequest) throws AuthServiceException
set session URLsetSessionUrlRequest - the given set session URL request instance.AuthServiceException - if an error occurs during set session URL.java.util.concurrent.Future<java.lang.Void> setSessionUrlAsync(SetSessionUrlRequest setSessionUrlRequest, AsyncHandler<SetSessionUrlRequest,java.lang.Void> asyncHandler) throws AuthServiceException
set session URLsetSessionUrlRequest - the given set session URL request instance.asyncHandler - callback handler for events in the life-cycle of the request.
Users could provide the implementation of the for callback
methods in this interface to process the operation result or
handle the exception.AuthServiceException - if an error occurs during set session URL.