org.eclipse.ecf.remoteservice
Interface IRemoteCall

All Known Implementing Classes:
RemoteCallImpl, RemoteCallMethod

public interface IRemoteCall

Instances of this interface are used to invoke a method call on a remote service

See Also:
IRemoteService

Method Summary
 java.lang.String getMethod()
          Get the method name to call on the remote.
 java.lang.Object[] getParameters()
          Get the method parameters of the method to call on the remote.
 long getTimeout()
          Get timeout (in ms) for the remote call.
 

Method Detail

getMethod

java.lang.String getMethod()
Get the method name to call on the remote. Must return a non-null and non-empty string

Returns:
String name of method to call on the remote

getParameters

java.lang.Object[] getParameters()
Get the method parameters of the method to call on the remote. Will return a non-null array of Object parameters. The given Objects in the array must be be Serializable so that they may be serialized to deliver to remote.

Returns:
Object [] the parameters to be provided for this call. Will not be null, but may be empty array.

getTimeout

long getTimeout()
Get timeout (in ms) for the remote call.

Returns:
long timeout in ms