public abstract class AbstractRSAClientService extends AbstractClientService
| Modifier and Type | Class and Description |
|---|---|
static class |
AbstractRSAClientService.RSARemoteCall |
AbstractClientService.AsyncResult, AbstractClientService.UriRequestAbstractRemoteService.AsyncArgs, AbstractRemoteService.ProxyClassLoadercontainer, registrationEMPTY_ARGS, futureExecutorService, futureExecutorServiceMaxThreads, iFutureExecutor| Constructor and Description |
|---|
AbstractRSAClientService(AbstractClientContainer container,
RemoteServiceClientRegistration registration) |
| Modifier and Type | Method and Description |
|---|---|
protected AbstractRSAClientService.RSARemoteCall |
createRemoteCall(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.String methodName,
java.lang.Object[] parameters,
long timeout) |
java.lang.Object |
invoke(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] args) |
protected abstract java.lang.Object |
invokeAsync(AbstractRSAClientService.RSARemoteCall remoteCall)
Invoke a remote call asynchronously.
|
protected java.lang.Object |
invokeRemoteCall(IRemoteCall call,
IRemoteCallable callable)
Invoke remote call.
|
protected abstract java.lang.Object |
invokeSync(AbstractRSAClientService.RSARemoteCall remoteCall)
Invoke a remote call synchronously.
|
callAsync, callAsync, callAsync, callAsync, callSync, createUriRequest, fireAsync, getCallMethodNameForProxyInvoke, getCallParametersForProxyInvoke, getClientContainer, getInterfaceClassNames, getNextRequestID, getRegistration, getRemoteServiceID, getRemoteServiceReference, handleInvokeException, invokeSync, prepareEndpointAddress, prepareParameters, processResponseaddAsyncProxyClasses, addRemoteServiceProxyToProxy, callAsync, callAsyncWithResult, callCompletableAsync, callFutureAsync, callFutureAsync, convertInterfaceNameToAsyncInterfaceName, createProxy, createProxy, createRemoteCall, dispose, findAsyncRemoteServiceProxyClass, findAsyncRemoteServiceProxyClass, getAsyncArgs, getAsyncInvokeMethodName, getAsyncRemoteCall, getCallTimeoutForProxyInvoke, getDefaultTimeout, getFutureExecutorService, getIFutureExecutor, getProxy, getProxy, getRemoteService, getRemoteServiceProxyCreator, handleInvokeSyncException, handleProxyException, invokeAsync, invokeObject, isAsync, loadInterfaceClass, loadInterfaceClass, logWarning, setFutureExecutorService, setIFutureExecutorcallFuturepublic AbstractRSAClientService(AbstractClientContainer container, RemoteServiceClientRegistration registration)
protected java.lang.Object invokeRemoteCall(IRemoteCall call, IRemoteCallable callable) throws ECFException
AbstractClientServiceinvokeRemoteCall in class AbstractClientServicecall - the remote call to invokecallable - the remote callable to invokeECFException - if invoke failsprotected abstract java.lang.Object invokeAsync(AbstractRSAClientService.RSARemoteCall remoteCall) throws ECFException
IFuture, Future, or CompletableFuture
or a
CompletableFuture based upon the return type defined in the asynchronous service interface.remoteCall - the RSARemoteCall to use to make the asynchronous remote call. Will not be null.IFuture, Future, or CompletableFutureECFException - if async cannot be invokedprotected abstract java.lang.Object invokeSync(AbstractRSAClientService.RSARemoteCall remoteCall) throws ECFException
remoteCall - the RSARemoteCall to synchronously invoke. Will not be null.ECFException - if some exception occurred during invocationprotected AbstractRSAClientService.RSARemoteCall createRemoteCall(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.String methodName, java.lang.Object[] parameters, long timeout)
public java.lang.Object invoke(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] args)
throws java.lang.Throwable
invoke in interface java.lang.reflect.InvocationHandlerinvoke in class AbstractRemoteServicejava.lang.Throwable