|
Radix Relay
Hybrid mesh communications with Signal Protocol encryption
|
Handles typed command events and coordinates with subsystems. More...
#include <command_handler.hpp>
Classes | |
| struct | out_queues_t |
Public Types | |
| using | in_queue_t = async::async_queue< events::raw_command > |
Public Member Functions | |
| command_handler (const std::shared_ptr< Bridge > &bridge, const out_queues_t &queues) | |
| Constructs a command handler with required subsystem queues. | |
| template<events::Command T> | |
| auto | handle (const T &command) const -> void |
| Handles a typed command event. | |
| auto | get_bridge () -> std::shared_ptr< Bridge > |
| Returns the Signal Protocol bridge. | |
Handles typed command events and coordinates with subsystems.
| Bridge | Type satisfying the signal_bridge concept |
Routes commands to appropriate subsystems (display, transport, session orchestrator) and interacts with the Signal Protocol bridge for cryptographic operations.
Definition at line 23 of file command_handler.hpp.
| using radix_relay::core::command_handler< Bridge >::in_queue_t = async::async_queue<events::raw_command> |
Definition at line 26 of file command_handler.hpp.
|
inlineexplicit |
Constructs a command handler with required subsystem queues.
| bridge | Signal Protocol bridge for crypto operations |
| queues | Output queues for subsystems |
Definition at line 42 of file command_handler.hpp.
|
inline |
Returns the Signal Protocol bridge.
Definition at line 60 of file command_handler.hpp.
|
inline |
Handles a typed command event.
| T | Command type satisfying the Command concept |
| command | The command to handle |
Definition at line 53 of file command_handler.hpp.