20#ifndef ORES_COMMS_EVENTING_CONNECTION_EVENTS_HPP
21#define ORES_COMMS_EVENTING_CONNECTION_EVENTS_HPP
25#include "ores.eventing/domain/event_traits.hpp"
33 std::chrono::system_clock::time_point timestamp;
42 std::chrono::system_clock::time_point timestamp;
49 std::chrono::system_clock::time_point timestamp;
56 std::chrono::system_clock::time_point timestamp;
65 static constexpr std::string_view name =
"ores.comms.connected";
70 static constexpr std::string_view name =
"ores.comms.disconnected";
74struct event_traits<
ores::comms::eventing::reconnecting_event> {
75 static constexpr std::string_view name =
"ores.comms.reconnecting";
79struct event_traits<
ores::comms::eventing::reconnected_event> {
80 static constexpr std::string_view name =
"ores.comms.reconnected";
ORE Studio - Graphical interface and data management for Open Source Risk Engine.
Definition image.hpp:27
Domain types for the eventing infrastructure.
Definition assets_changed_event.hpp:57
Event types for the communications module.
Definition connection_events.hpp:27
Event published when successfully connected to a server.
Definition connection_events.hpp:32
Event published when disconnected from the server.
Definition connection_events.hpp:41
Event published when attempting to reconnect to the server.
Definition connection_events.hpp:48
Event published when successfully reconnected to the server.
Definition connection_events.hpp:55