laborchestrator.sila_server.feature_implementations.cancelcontroller_impl module¶
- class laborchestrator.sila_server.feature_implementations.cancelcontroller_impl.CancelControllerImpl(parent_server: Server)[source]¶
Bases:
CancelControllerBase- CancelAll(*, metadata: MetadataDict) CancelAll_Responses[source]¶
Cancels all currently running Observable and Unobservable Commands running on this SiLA Server.
The SiLA Server MUST throw an Execution Error indicating ‘cancellation’ as the reason for the Command not being able to finish successfully.
- param metadata:
The SiLA Client Metadata attached to the call
- CancelCommand(CommandExecutionUUID: str, *, metadata: MetadataDict) CancelCommand_Responses[source]¶
Cancel a specified currently running Observable Command or cancel all currently running Observable Commands .
For any canceled Observable Command the SiLA Server MUST update the Command Execution Status to “Command Finished with Error”. The SiLA Server MUST throw a descriptive error message indicating cancellation as the reason for the Command execution not being able to finish successfully for any canceled Command.
- param CommandExecutionUUID:
The Command Execution UUID according to the SiLA Standard.
- param metadata:
The SiLA Client Metadata attached to the call
- _abc_impl = <_abc._abc_data object>¶