Interface IRemoteCommand<T>


  • public interface IRemoteCommand<T>
    Interface for remotely executable commands.
    • Method Detail

      • execute

        IFuture<T> execute​(IInternalAccess access,
                           ISecurityInfo secinf)
        Execute a command.
        Parameters:
        access - The agent that is running the command.
        secinf - The established security level to e.g. decide if the command is allowed.
        Returns:
        A future for return value(s). May also be intermediate, subscription, etc.
      • isValid

        java.lang.Exception isValid​(IInternalAccess access)
        Checks if the remote command is internally valid.
        Parameters:
        access - The component access.
        Returns:
        Exception describing the error if invalid.