Set the slave processor's do_quit flag to terminate.
- Parameters:
processor (Processor instance) - The slave processor the command is running on. Results from the
command are returned via calls to processor.return_object.
completed (bool) - The flag used in batching result returns to indicate that the
sequence of batched result commands has completed. This value
should be returned via the last result object retuned by this
method or methods it calls. All other Result_commands should be
initialised with completed=False. This is an optimisation to
prevent the sending an extra batched result queue completion
result command being sent, it may be an over early optimisation.
- Overrides:
Slave_command.run
|