public class RemoteCall extends AbstractAsyncProxyRemoteCall implements IRemoteCall
| Modifier and Type | Field and Description |
|---|---|
protected String |
method |
protected Object[] |
parameters |
protected long |
timeout |
DEFAULT_TIMEOUT| Constructor and Description |
|---|
RemoteCall(String method) |
RemoteCall(String method,
Object[] parameters) |
RemoteCall(String method,
Object[] parameters,
long timeout) |
| Modifier and Type | Method and Description |
|---|---|
String |
getMethod()
Get the method name to call on the remote.
|
Object[] |
getParameters()
Get the method parameters of the method to call on the remote.
|
long |
getTimeout()
Get timeout (in ms) for the remote call.
|
String |
toString() |
protected String method
protected Object[] parameters
protected long timeout
public RemoteCall(String method)
public String getMethod()
IRemoteCallgetMethod in interface IRemoteCallpublic Object[] getParameters()
IRemoteCallnull array of Object parameters. The given
Objects in the array must be be Serializable so that they may be
serialized to deliver to remote.getParameters in interface IRemoteCallnull, but may be empty array.public long getTimeout()
IRemoteCallgetTimeout in interface IRemoteCallCopyright © 2004–2020 Eclipse Foundation. All rights reserved.