dp3.common.control ¶
Module enabling remote control of the platform's internal events.
Control ¶
Class enabling remote control of the platform's internal events.
Source code in dp3/common/control.py
start ¶
Connect to RabbitMQ and start consuming from TaskQueue.
Source code in dp3/common/control.py
stop ¶
set_action_handler ¶
Sets the handler for the given action
process_control_task ¶
Acknowledges the received message and executes an action according to the task
.
This function should not be called directly, but set as callback for TaskQueueReader.
Source code in dp3/common/control.py
refresh_on_entity_creation ¶
refresh_on_entity_creation(task_distributor: TaskDistributor, task_executor: TaskExecutor, etype: str)
Refreshes hooks called on new entity creation for all entities in DB.