9#include <unordered_map>
36 std::shared_ptr<async::async_queue<events::display_filter_input_t>>
display;
44 std::visit([
this](
const auto &evt) { this->
handle(evt); }, event);
56 std::shared_ptr<async::async_queue<events::display_filter_input_t>> display_out_queue_;
auto handle(const events::transport::send_failed &event) -> void
auto handle(const events::transport::connect_failed &event) -> void
auto handle(const events::connection_monitor::query_status &event) -> void
auto handle(const events::transport::disconnected &event) -> void
auto handle(const events::transport::connected &event) -> void
auto handle(const events::connection_monitor::in_t &event) -> void
connection_monitor(const out_queues_t &queues)
auto get_status() const -> connection_status
std::variant< transport::connected, transport::connect_failed, transport::disconnected, transport::send_failed, query_status > in_t
Variant type for connection monitor input events.
std::shared_ptr< async::async_queue< events::display_filter_input_t > > display
std::optional< transport_state > bluetooth
std::optional< transport_state > internet
Request current connection status.
Notification of failed connection attempt.
Notification of successful connection.
Notification of disconnection.
Notification of failed send attempt.