public interface IRemoteExecutionFeature
Modifier and Type | Method and Description |
---|---|
<T> IFuture<T> |
execute(IComponentIdentifier target,
IRemoteCommand<T> command,
java.lang.Class<? extends IFuture<T>> clazz,
java.lang.Long timeout)
Execute a command on a remote agent.
|
<T> IFuture<T> execute(IComponentIdentifier target, IRemoteCommand<T> command, java.lang.Class<? extends IFuture<T>> clazz, java.lang.Long timeout)
target
- The component to send the command to.command
- The command to be executed.clazz
- The return type.timeout
- Custom timeout or null for default.