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(Object proxy,
Method method,
String methodName,
Object[] parameters,
long timeout) |
Object |
invoke(Object proxy,
Method method,
Object[] args) |
protected abstract Object |
invokeAsync(AbstractRSAClientService.RSARemoteCall remoteCall)
Invoke a remote call asynchronously.
|
protected Object |
invokeRemoteCall(IRemoteCall call,
IRemoteCallable callable)
Invoke remote call.
|
protected abstract 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 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 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 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(Object proxy, Method method, String methodName, Object[] parameters, long timeout)
public Object invoke(Object proxy, Method method, Object[] args) throws Throwable
invoke in interface InvocationHandlerinvoke in class AbstractRemoteServiceThrowableCopyright © 2017. All rights reserved.