20#ifndef ORES_COMMS_SERVICE_HEARTBEAT_SERVICE_HPP
21#define ORES_COMMS_SERVICE_HEARTBEAT_SERVICE_HPP
24#include <boost/asio/awaitable.hpp>
25#include "ores.utility/log/make_logger.hpp"
29namespace ores::comms::service {
40 inline static std::string_view logger_name =
41 "ores.comms.service.heartbeat_service";
45 static auto instance = make_logger(logger_name);
59 std::uint32_t sequence,
60 std::uint32_t correlation_id);
Contains the networking elements of the comms library.
Definition client.hpp:42
Implements logging for ORE Studio.
Definition lifecycle_manager.hpp:30
SSL connection wrapper for frame-based communication.
Definition connection.hpp:36
Service for handling heartbeat (ping/pong) protocol on the server.
Definition heartbeat_service.hpp:38
static boost::asio::awaitable< void > handle_ping(net::connection &conn, std::uint32_t sequence, std::uint32_t correlation_id)
Handle incoming ping from client and send pong response.
Definition heartbeat_service.cpp:31