Class RemoteCallable
java.lang.Object
org.eclipse.ecf.remoteservice.client.RemoteCallable
- All Implemented Interfaces:
IRemoteCallable
Implementation of
IRemoteCallable
.- Since:
- 4.0
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprotected IRemoteCallParameter[]
protected long
protected String
protected IRemoteCallableRequestType
protected String
-
Constructor Summary
ConstructorDescriptionRemoteCallable
(String method, String resourcePath, IRemoteCallParameter[] defaultParameters, IRemoteCallableRequestType requestType) RemoteCallable
(String method, String resourcePath, IRemoteCallParameter[] defaultParameters, IRemoteCallableRequestType requestType, long defaultTimeout) -
Method Summary
Modifier and TypeMethodDescriptionGet default remote call parameters for this remote callable.long
Get default timeout for this remote callable.Get the method name associated with this remote callable.Get request type associated with this remote callable.Get the resource path associated with this remote callable.toString()
-
Field Details
-
method
-
resourcePath
-
defaultParameters
-
defaultTimeout
protected long defaultTimeout -
requestType
-
-
Constructor Details
-
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 Details
-
getMethod
Description copied from interface:IRemoteCallable
Get the method name associated with this remote callable.- Specified by:
getMethod
in interfaceIRemoteCallable
- Returns:
- String method name. Must not be
null
.
-
getResourcePath
Description copied from interface:IRemoteCallable
Get the resource path associated with this remote callable.- Specified by:
getResourcePath
in interfaceIRemoteCallable
- Returns:
- String the resource path for this remote callable. Must not be
null
.
-
getDefaultParameters
Description copied from interface:IRemoteCallable
Get default remote call parameters for this remote callable.- Specified by:
getDefaultParameters
in interfaceIRemoteCallable
- Returns:
- IRemoteCallParameter[] array of default parameters for this remote callable.
May be
null
.
-
getRequestType
Description copied from interface:IRemoteCallable
Get request type associated with this remote callable.- Specified by:
getRequestType
in interfaceIRemoteCallable
- Returns:
- IRemoteCallableRequestType for this callable. May be
null
.
-
getDefaultTimeout
public long getDefaultTimeout()Description copied from interface:IRemoteCallable
Get default timeout for this remote callable.- Specified by:
getDefaultTimeout
in interfaceIRemoteCallable
- Returns:
- long default timeout value.
-
toString
-