|
ORE Studio 0.0.4
|
Abstract interface for job action execution. More...
#include <action_handler.hpp>


Public Member Functions | |
| virtual std::string_view | action_type () const noexcept=0 |
| Returns the action_type string handled by this implementation. | |
| virtual boost::asio::awaitable< std::expected< void, std::string > > | execute (const action_context &ctx)=0 |
| Execute the action for the given job. | |
Abstract interface for job action execution.
Implementations execute one action_type (e.g., "execute_sql", "send_mq_message").
|
pure virtualnoexcept |
Returns the action_type string handled by this implementation.
Implemented in mq_action_handler, nats_publish_action_handler, and sql_action_handler.
|
pure virtual |
Execute the action for the given job.
Implemented in mq_action_handler, nats_publish_action_handler, and sql_action_handler.