Class RemoteCallMethod
java.lang.Object
org.eclipse.ecf.remoteservice.asyncproxy.AbstractAsyncProxyRemoteCall
org.eclipse.ecf.remoteservice.RemoteCall
org.eclipse.ecf.remoteservice.util.RemoteCallMethod
- All Implemented Interfaces:
IRemoteCall
Implementation of IRemoteCall based upon Method.
-
Field Summary
Fields inherited from class org.eclipse.ecf.remoteservice.RemoteCall
method, parameters, timeout
Fields inherited from interface org.eclipse.ecf.remoteservice.IRemoteCall
DEFAULT_TIMEOUT
-
Constructor Summary
ConstructorDescriptionRemoteCallMethod
(Method method) RemoteCallMethod
(Method method, long timeout) RemoteCallMethod
(Method method, Object[] parameters) RemoteCallMethod
(Method method, Object[] parameters, long timeout) -
Method Summary
Modifier and TypeMethodDescriptionstatic void
checkForTypeMatch
(Method method, Object[] parameters) static void
checkSerializable
(Object[] parameters) void
setParameters
(Method method, Object[] parameters) Methods inherited from class org.eclipse.ecf.remoteservice.RemoteCall
getMethod, getParameters, getTimeout, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.eclipse.ecf.remoteservice.IRemoteCall
getMethod, getParameters, getTimeout
-
Field Details
-
EMPTY_PARAMETERS
-
-
Constructor Details
-
RemoteCallMethod
public RemoteCallMethod(Method method, Object[] parameters, long timeout) throws NotSerializableException - Throws:
NotSerializableException
-
RemoteCallMethod
- Throws:
NotSerializableException
-
RemoteCallMethod
-
RemoteCallMethod
-
-
Method Details
-
checkSerializable
- Throws:
NotSerializableException
-
checkForTypeMatch
-
setParameters
- Parameters:
method
- methodparameters
- parameters- Throws:
NotSerializableException
- if given parameters cannot be serialized- Since:
- 4.0
-