libjmmcg  build_2783
A C++ library containing an eclectic mix of useful, advanced components.
isimud::exchanges::BATSBOE::common::server_hb_t< MsgT > Class Template Reference

Section 2.4 "Heartbeats" of [1]. Generate heartbeats from the containing simulator. More...

#include <connectivity_policy.hpp>

Inheritance diagram for isimud::exchanges::BATSBOE::common::server_hb_t< MsgT >:
[legend]
Collaboration diagram for isimud::exchanges::BATSBOE::common::server_hb_t< MsgT >:
[legend]

Public Types

using base_t = exchanges::common::server_hb_t< MsgT, 5, 1 >
 
- Public Types inherited from isimud::exchanges::common::server_hb_t< MsgT, 5, 1 >
enum  
 
using hb_t = MsgT
 The specific heartbeat message type. More...
 

Public Member Functions

template<class ClientCxn >
 server_hb_t (ClientCxn &cxn)
 
- Public Member Functions inherited from isimud::exchanges::common::server_hb_t< MsgT, 5, 1 >
 server_hb_t (ClientCxn &cxn, MakeHB &&make_hb)
 
 ~server_hb_t () noexcept(false)
 
void stop () noexcept(true)
 
std::string to_string () const noexcept(false)
 
void process (ClientCxn &cxn) noexcept
 

Additional Inherited Members

- Static Public Attributes inherited from isimud::exchanges::common::server_hb_t< MsgT, 5, 1 >
static constexpr std::chrono::seconds heartbeat_interval
 

Detailed Description

template<class MsgT>
class isimud::exchanges::BATSBOE::common::server_hb_t< MsgT >

Section 2.4 "Heartbeats" of [1]. Generate heartbeats from the containing simulator.

The simulator generates heartbeats to which the client responds.

Definition at line 146 of file connectivity_policy.hpp.

Member Typedef Documentation

◆ base_t

Definition at line 148 of file connectivity_policy.hpp.

Constructor & Destructor Documentation

◆ server_hb_t()

template<class MsgT >
template<class ClientCxn >
isimud::exchanges::BATSBOE::common::server_hb_t< MsgT >::server_hb_t ( ClientCxn &  cxn)
inlineexplicit

Definition at line 124 of file connectivity_policy_impl.hpp.


The documentation for this class was generated from the following files: