Constructs a BaseCommand object.
string $command: The name of the command.
string $data: The data to pass on to the client side.
public function __construct($command, $data) { $this->command = $command; $this->data = $data; }