libjmmcg
build_2176
A C++ library containing an eclectic mix of useful, advanced components.
|
Generate heartbeats from the containing simulator. More...
#include <connectivity_policy.hpp>
Public Types | |
enum | : unsigned { max_missed_heartbeats =5 } |
using | hb_t = MsgT |
The specific heartbeat message type. More... | |
Public Member Functions | |
template<class ClientCxn > | |
server_hb_t (ClientCxn &cxn) | |
~server_hb_t () noexcept(true) | |
std::string | to_string () const noexcept(false) |
Static Public Attributes | |
static constexpr std::chrono::seconds | heartbeat_interval {1} |
Friends | |
std::ostream & | operator<< (std::ostream &os, server_hb_t const &s) noexcept(false) |
Generate heartbeats from the containing simulator.
The simulator generates heartbeats to which the client responds.
Definition at line 72 of file connectivity_policy.hpp.
using jmmcg::exchanges::FIX::common::server_hb_t< MsgT >::hb_t = MsgT |
The specific heartbeat message type.
Definition at line 75 of file connectivity_policy.hpp.
anonymous enum : unsigned |
Enumerator | |
---|---|
max_missed_heartbeats |
Definition at line 77 of file connectivity_policy.hpp.
|
inlineexplicit |
Definition at line 62 of file connectivity_policy_impl.hpp.
|
inlinenoexcept |
Definition at line 68 of file connectivity_policy_impl.hpp.
|
inlinenoexcept |
Definition at line 77 of file connectivity_policy_impl.hpp.
|
friend |
Definition at line 88 of file connectivity_policy.hpp.
|
static |
Definition at line 80 of file connectivity_policy.hpp.