Class RemoteCallable
- java.lang.Object
-
- org.eclipse.ecf.remoteservice.client.RemoteCallable
-
- All Implemented Interfaces:
IRemoteCallable
public class RemoteCallable extends Object implements IRemoteCallable
Implementation ofIRemoteCallable.- Since:
- 4.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRemoteCallable.Builder
-
Field Summary
Fields Modifier and Type Field Description protected IRemoteCallParameter[]defaultParametersprotected longdefaultTimeoutprotected Stringmethodprotected IRemoteCallableRequestTyperequestTypeprotected StringresourcePath
-
Constructor Summary
Constructors Constructor Description RemoteCallable(String method, String resourcePath, IRemoteCallParameter[] defaultParameters, IRemoteCallableRequestType requestType)RemoteCallable(String method, String resourcePath, IRemoteCallParameter[] defaultParameters, IRemoteCallableRequestType requestType, long defaultTimeout)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IRemoteCallParameter[]getDefaultParameters()Get default remote call parameters for this remote callable.longgetDefaultTimeout()Get default timeout for this remote callable.StringgetMethod()Get the method name associated with this remote callable.IRemoteCallableRequestTypegetRequestType()Get request type associated with this remote callable.StringgetResourcePath()Get the resource path associated with this remote callable.StringtoString()
-
-
-
Field Detail
-
method
protected String method
-
resourcePath
protected String resourcePath
-
defaultParameters
protected IRemoteCallParameter[] defaultParameters
-
defaultTimeout
protected long defaultTimeout
-
requestType
protected IRemoteCallableRequestType requestType
-
-
Constructor Detail
-
RemoteCallable
public RemoteCallable(String method, String resourcePath, IRemoteCallParameter[] defaultParameters, IRemoteCallableRequestType requestType, long defaultTimeout)
-
RemoteCallable
public RemoteCallable(String method, String resourcePath, IRemoteCallParameter[] defaultParameters, IRemoteCallableRequestType requestType)
-
-
Method Detail
-
getMethod
public String getMethod()
Description copied from interface:IRemoteCallableGet the method name associated with this remote callable.- Specified by:
getMethodin interfaceIRemoteCallable- Returns:
- String method name. Must not be
null.
-
getResourcePath
public String getResourcePath()
Description copied from interface:IRemoteCallableGet the resource path associated with this remote callable.- Specified by:
getResourcePathin interfaceIRemoteCallable- Returns:
- String the resource path for this remote callable. Must not be
null.
-
getDefaultParameters
public IRemoteCallParameter[] getDefaultParameters()
Description copied from interface:IRemoteCallableGet default remote call parameters for this remote callable.- Specified by:
getDefaultParametersin interfaceIRemoteCallable- Returns:
- IRemoteCallParameter[] array of default parameters for this remote callable.
May be
null.
-
getRequestType
public IRemoteCallableRequestType getRequestType()
Description copied from interface:IRemoteCallableGet request type associated with this remote callable.- Specified by:
getRequestTypein interfaceIRemoteCallable- Returns:
- IRemoteCallableRequestType for this callable. May be
null.
-
getDefaultTimeout
public long getDefaultTimeout()
Description copied from interface:IRemoteCallableGet default timeout for this remote callable.- Specified by:
getDefaultTimeoutin interfaceIRemoteCallable- Returns:
- long default timeout value.
-
-