# Class: RemoteCommand

## RemoteCommand()

The base class of all remote commands, that is, commands executed server-side.

## Constructor

#### new RemoteCommand()

Source:
  - control/RemoteCommand.js, line 6

### Classes

RemoteCommand

### Methods

#### commandExecuted()

Invoked when, in helper or normal modes, the command execution request has been sent to the server.

Source:
  - control/RemoteCommand.js, line 34

#### executionDone()

Invoked after the command execution is successful.

Default implementation does nothing at all.

Source:
  - control/RemoteCommand.js, line 78

#### executionFailed()

Invoked after the command execution has failed.

Default implementation displays `resultValue` (which is assumed to be an error message) if there; a generic error message otherwise.

Source:
  - control/RemoteCommand.js, line 98

#### executionStopped()

Invoked after the command execution was stopped.

Default implementation displays `resultValue` (which in principle contains information about how to resume the execution of the command) if there; a generic error message otherwise.

Source:
  - control/RemoteCommand.js, line 87