libjmmcg
build_2783
A C++ library containing an eclectic mix of useful, advanced components.
|
Section 5.2.2 "Heartbeats" of [1]. Generate heartbeats from the containing simulator. More...
#include <server_heartbeats.hpp>
Public Types | |
enum | : unsigned { max_missed_heartbeats =MissedHbs } |
using | hb_t = MsgT |
The specific heartbeat message type. More... | |
Public Member Functions | |
template<class ClientCxn , class MakeHB > | |
server_hb_t (ClientCxn &cxn, MakeHB &&make_hb) | |
~server_hb_t () noexcept(false) | |
void | stop () noexcept(true) |
std::string | to_string () const noexcept(false) |
template<class ClientCxn > | |
void | process (ClientCxn &cxn) noexcept |
Static Public Attributes | |
static constexpr std::chrono::seconds | heartbeat_interval {HbInterval} |
Friends | |
std::ostream & | operator<< (std::ostream &os, server_hb_t const &s) noexcept(false) |
Section 5.2.2 "Heartbeats" of [1]. Generate heartbeats from the containing simulator.
The simulator generates heartbeats to which the client responds.
Definition at line 91 of file server_heartbeats.hpp.
using isimud::exchanges::common::server_hb_t< MsgT, MissedHbs, HbInterval >::hb_t = MsgT |
The specific heartbeat message type.
Definition at line 111 of file server_heartbeats.hpp.
anonymous enum : unsigned |
Enumerator | |
---|---|
max_missed_heartbeats |
Definition at line 113 of file server_heartbeats.hpp.
|
inline |
Definition at line 76 of file server_heartbeats_impl.hpp.
|
inlinenoexcept |
Definition at line 94 of file server_heartbeats_impl.hpp.
|
inlinenoexcept |
Definition at line 116 of file server_heartbeats_impl.hpp.
|
inlinenoexcept |
Definition at line 88 of file server_heartbeats_impl.hpp.
|
inlinenoexcept |
Definition at line 103 of file server_heartbeats_impl.hpp.
|
friend |
Definition at line 126 of file server_heartbeats.hpp.
|
inlinestaticconstexpr |
Definition at line 116 of file server_heartbeats.hpp.