Package org.eclipse.ecf.remoteservice
Class RemoteCall
- java.lang.Object
- 
- org.eclipse.ecf.remoteservice.asyncproxy.AbstractAsyncProxyRemoteCall
- 
- org.eclipse.ecf.remoteservice.RemoteCall
 
 
- 
- All Implemented Interfaces:
- IRemoteCall
 - Direct Known Subclasses:
- AbstractRSAClientService.RSARemoteCall,- RemoteCallMethod,- RestCall
 
 public class RemoteCall extends AbstractAsyncProxyRemoteCall implements IRemoteCall - Since:
- 4.0
 
- 
- 
Field SummaryFields Modifier and Type Field Description protected Stringmethodprotected Object[]parametersprotected longtimeout- 
Fields inherited from interface org.eclipse.ecf.remoteservice.IRemoteCallDEFAULT_TIMEOUT
 
- 
 - 
Constructor SummaryConstructors Constructor Description RemoteCall(String method)RemoteCall(String method, Object[] parameters)RemoteCall(String method, Object[] parameters, long timeout)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetMethod()Get the method name to call on the remote.Object[]getParameters()Get the method parameters of the method to call on the remote.longgetTimeout()Get timeout (in ms) for the remote call.StringtoString()
 
- 
- 
- 
Method Detail- 
getMethodpublic String getMethod() Description copied from interface:IRemoteCallGet the method name to call on the remote. Must return a non-null and non-empty string- Specified by:
- getMethodin interface- IRemoteCall
- Returns:
- String name of method to call on the remote
 
 - 
getParameterspublic Object[] getParameters() Description copied from interface:IRemoteCallGet the method parameters of the method to call on the remote. Will return a non-nullarray of Object parameters. The given Objects in the array must be be Serializable so that they may be serialized to deliver to remote.- Specified by:
- getParametersin interface- IRemoteCall
- Returns:
- Object [] the parameters to be provided for this call. Will not
         be null, but may be empty array.
 
 - 
getTimeoutpublic long getTimeout() Description copied from interface:IRemoteCallGet timeout (in ms) for the remote call.- Specified by:
- getTimeoutin interface- IRemoteCall
- Returns:
- long timeout in ms
 
 
- 
 
-