Interface IRemoteExecutionFeature


  • public interface IRemoteExecutionFeature
    Feature for securely sending and handling remote execution commands.
    • Method Detail

      • execute

        <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.
        Parameters:
        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.
        Returns:
        The result(s) of the command, if any.