Modifier and Type | Class and Description |
---|---|
class |
RemoteCallImpl |
Modifier and Type | Method and Description |
---|---|
void |
RemoteServiceImpl.callAsync(IRemoteCall call,
IRemoteCallListener listener) |
java.lang.Object |
RemoteServiceImpl.callSync(IRemoteCall call) |
protected java.lang.Object |
RegistrySharedObject.callSynch(RemoteServiceRegistrationImpl registration,
IRemoteCall call) |
void |
RemoteServiceImpl.fireAsync(IRemoteCall call) |
protected void |
RegistrySharedObject.fireCallStartEvent(IRemoteCallListener listener,
long requestId,
IRemoteServiceReference reference,
IRemoteCall call) |
protected Request |
RegistrySharedObject.sendCallRequest(RemoteServiceRegistrationImpl remoteRegistration,
IRemoteCall call) |
protected void |
RegistrySharedObject.sendCallRequestWithListener(RemoteServiceRegistrationImpl remoteRegistration,
IRemoteCall call,
IRemoteCallListener listener) |
protected Request |
RegistrySharedObject.sendFireRequest(RemoteServiceRegistrationImpl remoteRegistration,
IRemoteCall call) |
Modifier and Type | Class and Description |
---|---|
class |
RemoteCall |
Modifier and Type | Field and Description |
---|---|
protected IRemoteCall |
AbstractRemoteCallListener.remoteCall |
Modifier and Type | Method and Description |
---|---|
static IRemoteCall |
RemoteCallFactory.createRemoteCall(java.lang.String fqMethod) |
static IRemoteCall |
RemoteCallFactory.createRemoteCall(java.lang.String fqMethod,
java.lang.Object[] params) |
protected IRemoteCall |
AbstractRemoteService.createRemoteCall(java.lang.String callMethod,
java.lang.Object[] callParameters,
long callTimeout) |
static IRemoteCall |
RemoteCallFactory.createRemoteCall(java.lang.String fqMethod,
java.lang.Object[] params,
long timeout) |
protected IRemoteCall |
AbstractRemoteCallListener.getRemoteCall() |
Modifier and Type | Method and Description |
---|---|
org.eclipse.equinox.concurrent.future.IFuture |
AbstractRemoteService.callAsync(IRemoteCall call) |
org.eclipse.equinox.concurrent.future.IFuture |
IRemoteService.callAsync(IRemoteCall call)
Call remote method specified by call parameter asynchronously, and immediately
return
IFuture instance. |
void |
IRemoteService.callAsync(IRemoteCall call,
IRemoteCallListener listener)
Call remote method specified by call parameter asynchronously, and notify
specified listener when call starts and completes.
|
protected java.lang.Object |
AbstractRemoteService.callAsyncWithResult(IRemoteCall call,
IRemoteCallListener listener) |
protected java.util.concurrent.Future |
AbstractRemoteService.callFutureAsync(IRemoteCall call) |
java.lang.Object |
RemoteServiceRegistrationImpl.callService(IRemoteCall call) |
java.lang.Object |
IRemoteService.callSync(IRemoteCall call)
Call remote method specified by call parameter synchronously.
|
void |
IRemoteServiceCallPolicy.checkRemoteCall(ID fromID,
IRemoteServiceRegistration registration,
IRemoteCall remoteCall)
The following method is to be called before the remote service method call to check
if the remote service method call is authorized.
|
void |
IRemoteService.fireAsync(IRemoteCall call)
Fire remote method specified by call parameter.
|
protected java.util.concurrent.ExecutorService |
AbstractRemoteService.getFutureExecutorService(IRemoteCall call) |
protected org.eclipse.equinox.concurrent.future.IExecutor |
AbstractRemoteService.getIFutureExecutor(IRemoteCall call) |
protected java.lang.Object |
AbstractRemoteService.invokeSync(IRemoteCall call) |
Modifier and Type | Class and Description |
---|---|
static class |
AbstractRSAClientService.RSARemoteCall |
Modifier and Type | Method and Description |
---|---|
IRemoteCall |
AbstractClientService.UriRequest.getRemoteCall() |
Modifier and Type | Method and Description |
---|---|
org.eclipse.equinox.concurrent.future.IFuture |
AbstractClientService.callAsync(IRemoteCall call) |
protected org.eclipse.equinox.concurrent.future.IFuture |
AbstractClientService.callAsync(IRemoteCall call,
IRemoteCallable callable) |
protected void |
AbstractClientService.callAsync(IRemoteCall call,
IRemoteCallable restClientCallable,
IRemoteCallListener listener) |
void |
AbstractClientService.callAsync(IRemoteCall call,
IRemoteCallListener listener) |
java.lang.Object |
AbstractClientService.callSync(IRemoteCall call) |
AbstractClientService.UriRequest |
AbstractClientContainer.createUriRequest(java.lang.String endpoint,
IRemoteCall call,
IRemoteCallable callable) |
protected AbstractClientService.UriRequest |
AbstractClientService.createUriRequest(java.lang.String endpoint,
IRemoteCall call,
IRemoteCallable callable) |
java.lang.Object |
IRemoteResponseDeserializer.deserializeResponse(java.lang.String endpoint,
IRemoteCall call,
IRemoteCallable callable,
java.util.Map responseHeaders,
byte[] responseBody)
Deserialize remote response.
|
protected IRemoteCallable |
RemoteServiceClientRegistration.findRemoteCallable(IRemoteCall remoteCall) |
void |
AbstractClientService.fireAsync(IRemoteCall call) |
protected IRemoteResponseDeserializer |
AbstractClientContainer.getResponseDeserializer(IRemoteCall call,
IRemoteCallable callable,
java.util.Map responseHeaders) |
protected abstract java.lang.Object |
AbstractClientService.invokeRemoteCall(IRemoteCall call,
IRemoteCallable callable)
Invoke remote call.
|
protected java.lang.Object |
AbstractRSAClientService.invokeRemoteCall(IRemoteCall call,
IRemoteCallable callable) |
protected java.lang.Object |
AbstractClientService.invokeSync(IRemoteCall remoteCall) |
IRemoteCallable |
RemoteServiceClientRegistration.lookupCallable(IRemoteCall remoteCall) |
protected IRemoteCallParameter[] |
AbstractClientContainer.prepareCallParameters(java.lang.String uri,
IRemoteCall call,
IRemoteCallable callable) |
protected abstract java.lang.String |
AbstractClientContainer.prepareEndpointAddress(IRemoteCall call,
IRemoteCallable callable)
Prepare an endpoint address for the given call and callable.
|
protected java.lang.String |
AbstractClientService.prepareEndpointAddress(IRemoteCall call,
IRemoteCallable callable) |
protected java.lang.String |
AbstractRSAClientContainer.prepareEndpointAddress(IRemoteCall call,
IRemoteCallable callable) |
protected IRemoteCallParameter[] |
AbstractClientContainer.prepareExtraParameters(java.lang.String uri,
IRemoteCall call,
IRemoteCallable callable) |
protected IRemoteCallParameter[] |
AbstractClientContainer.prepareParameters(java.lang.String uri,
IRemoteCall call,
IRemoteCallable callable) |
protected IRemoteCallParameter[] |
AbstractClientService.prepareParameters(java.lang.String uri,
IRemoteCall call,
IRemoteCallable callable) |
protected java.lang.Object |
AbstractClientContainer.processResponse(java.lang.String uri,
IRemoteCall call,
IRemoteCallable callable,
java.util.Map responseHeaders,
byte[] responseBody) |
protected java.lang.Object |
AbstractClientService.processResponse(java.lang.String uri,
IRemoteCall call,
IRemoteCallable callable,
java.util.Map responseHeaders,
byte[] responseBody) |
IRemoteCallParameter[] |
AbstractParameterSerializer.serializeParameter(java.lang.String endpoint,
IRemoteCall call,
IRemoteCallable callable,
IRemoteCallParameter[] currentParameters,
java.lang.Object[] paramToSerialize) |
IRemoteCallParameter[] |
IRemoteCallParameterSerializer.serializeParameter(java.lang.String endpoint,
IRemoteCall call,
IRemoteCallable callable,
IRemoteCallParameter[] currentParameters,
java.lang.Object[] paramToSerialize)
Serializes all remote call parameters of this call.
|
protected IRemoteCallParameter |
AbstractClientContainer.serializeParameter(java.lang.String uri,
IRemoteCall call,
IRemoteCallable callable,
IRemoteCallParameter defaultParameter,
java.lang.Object parameterValue)
Serialize the parameter using the container's parameterSerializer.
|
IRemoteCallParameter |
IRemoteCallParameterSerializer.serializeParameter(java.lang.String endpoint,
IRemoteCall call,
IRemoteCallable callable,
IRemoteCallParameter paramDefault,
java.lang.Object paramToSerialize)
Serialize a remote call parameter.
|
IRemoteCallParameter |
StringParameterSerializer.serializeParameter(java.lang.String uri,
IRemoteCall call,
IRemoteCallable callable,
IRemoteCallParameter paramDefault,
java.lang.Object paramToSerialize) |
protected IRemoteCallParameter[] |
AbstractClientContainer.serializeParameter(java.lang.String uri,
IRemoteCall call,
IRemoteCallable callable,
java.util.List currentParameters,
java.lang.Object[] parameterValue)
Serialize the parameter using the container's parameterSerializer.
|
Constructor and Description |
---|
AsyncResult(IRemoteCall call,
IRemoteCallable callable,
IRemoteCallListener listener) |
UriRequest(java.lang.String uri,
IRemoteCall call,
IRemoteCallable callable) |
Modifier and Type | Method and Description |
---|---|
IRemoteCall |
IRemoteCallStartEvent.getCall()
Get the remote call itself.
|
Modifier and Type | Interface and Description |
---|---|
interface |
IRestCall
Rest call provides a way for clients to access/call a remote service.
|
Modifier and Type | Class and Description |
---|---|
class |
RestCall
Implementation of
IRestCall . |
Modifier and Type | Method and Description |
---|---|
protected void |
RestClientService.addRequestHeaders(org.apache.http.message.AbstractHttpMessage httpMethod,
IRemoteCall call,
IRemoteCallable callable) |
protected org.apache.http.client.methods.HttpRequestBase |
RestClientService.createAndPrepareHttpMethod(java.lang.String uri,
IRemoteCall call,
IRemoteCallable callable) |
java.lang.Object |
XMLRemoteResponseDeserializer.deserializeResponse(java.lang.String uri,
IRemoteCall call,
IRemoteCallable callable,
java.util.Map responseHeaders,
byte[] responseBody) |
org.apache.http.HttpEntity |
AbstractEntityRequestType.generateRequestEntity(java.lang.String uri,
IRemoteCall call,
IRemoteCallable callable,
IRemoteCallParameter paramDefault,
java.lang.Object paramToSerialize) |
protected java.lang.String |
AbstractEntityRequestType.getCharset(IRemoteCall call,
IRemoteCallable callable,
IRemoteCallParameter paramDefault) |
protected long |
AbstractEntityRequestType.getContentLength(IRemoteCall call,
IRemoteCallable callable,
IRemoteCallParameter paramDefault) |
protected java.lang.String |
AbstractEntityRequestType.getContentType(IRemoteCall call,
IRemoteCallable callable,
IRemoteCallParameter paramDefault) |
protected java.lang.Object |
RestClientService.invokeRemoteCall(IRemoteCall call,
IRemoteCallable callable)
Calls the Rest service with given URL of IRestCall.
|
protected java.lang.String |
AbstractRestClientContainer.prepareBaseUri(IRemoteCall call,
IRemoteCallable callable) |
protected org.apache.http.client.methods.HttpRequestBase |
RestClientService.prepareDeleteMethod(java.lang.String uri,
IRemoteCall call,
IRemoteCallable callable) |
java.lang.String |
AbstractRestClientContainer.prepareEndpointAddress(IRemoteCall call,
IRemoteCallable callable) |
protected org.apache.http.client.methods.HttpRequestBase |
RestClientService.prepareGetMethod(java.lang.String uri,
IRemoteCall call,
IRemoteCallable callable) |
protected void |
RestClientService.prepareHttpMethod(org.apache.http.client.methods.HttpRequestBase httpMethod,
IRemoteCall call,
IRemoteCallable callable) |
protected org.apache.http.client.methods.HttpRequestBase |
RestClientService.preparePatchMethod(java.lang.String uri,
IRemoteCall call,
IRemoteCallable callable) |
protected org.apache.http.client.methods.HttpRequestBase |
RestClientService.preparePostMethod(java.lang.String uri,
IRemoteCall call,
IRemoteCallable callable) |
protected org.apache.http.client.methods.HttpRequestBase |
RestClientService.preparePutMethod(java.lang.String uri,
IRemoteCall call,
IRemoteCallable callable) |
protected java.lang.String |
AbstractRestClientContainer.prepareResourcePath(IRemoteCall call,
IRemoteCallable callable) |
protected void |
RestClientService.setupHttpMethod(org.apache.http.client.methods.HttpRequestBase httpMethod,
IRemoteCall call,
IRemoteCallable callable) |
protected void |
RestClientService.setupTimeouts(org.apache.http.client.HttpClient httpClient,
IRemoteCall call,
IRemoteCallable callable) |
protected org.apache.http.NameValuePair[] |
RestClientService.toNameValuePairs(java.lang.String uri,
IRemoteCall call,
IRemoteCallable callable) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
SyndFeedResponseDeserializer.deserializeResponse(java.lang.String endpoint,
IRemoteCall call,
IRemoteCallable callable,
java.util.Map responseHeaders,
byte[] responseBody) |
Modifier and Type | Class and Description |
---|---|
class |
RemoteCallMethod
Implementation of IRemoteCall based upon Method.
|