libjmmcg  release_579_6_g8cffd
A C++ library containing an eclectic mix of useful, advanced components.
simple_reflect< SktT, MsgsT >::heartbeats Struct Reference

Public Types

enum  : unsigned { max_missed_heartbeats =1 }
 
enum  : unsigned { max_missed_heartbeats =1 }
 

Public Member Functions

template<class Skt >
constexpr heartbeats (Skt const &) noexcept(true)
 
template<class Skt >
constexpr heartbeats (Skt const &) noexcept(true)
 

Static Public Member Functions

static constexpr void stop () noexcept(true)
 
static constexpr void stop () noexcept(true)
 

Static Public Attributes

static constexpr std::chrono::seconds heartbeat_interval {1}
 

Detailed Description

template<class SktT, class MsgsT>
struct simple_reflect< SktT, MsgsT >::heartbeats

Definition at line 227 of file socket_server.cpp.

Member Enumeration Documentation

◆ anonymous enum

template<class SktT , class MsgsT >
anonymous enum : unsigned
Enumerator
max_missed_heartbeats 

Definition at line 228 of file socket_server.cpp.

◆ anonymous enum

template<class SktT , class MsgsT >
anonymous enum : unsigned
Enumerator
max_missed_heartbeats 

Definition at line 228 of file socket_server.cpp.

Constructor & Destructor Documentation

◆ heartbeats() [1/2]

template<class SktT , class MsgsT >
template<class Skt >
constexpr simple_reflect< SktT, MsgsT >::heartbeats::heartbeats ( Skt const &  )
inlineexplicitconstexprnoexcept

Definition at line 234 of file socket_server.cpp.

◆ heartbeats() [2/2]

template<class SktT , class MsgsT >
template<class Skt >
constexpr simple_reflect< SktT, MsgsT >::heartbeats::heartbeats ( Skt const &  )
inlineexplicitconstexprnoexcept

Definition at line 234 of file socket_server.cpp.

Member Function Documentation

◆ stop() [1/2]

template<class SktT , class MsgsT >
static constexpr void simple_reflect< SktT, MsgsT >::heartbeats::stop ( )
inlinestaticconstexprnoexcept

Definition at line 235 of file socket_server.cpp.

◆ stop() [2/2]

template<class SktT , class MsgsT >
static constexpr void simple_reflect< SktT, MsgsT >::heartbeats::stop ( )
inlinestaticconstexprnoexcept

Definition at line 235 of file socket_server.cpp.

Member Data Documentation

◆ heartbeat_interval

template<class SktT , class MsgsT >
static constexpr std::chrono::seconds simple_reflect< SktT, MsgsT >::heartbeats::heartbeat_interval {1}
inlinestaticconstexpr

Definition at line 231 of file socket_server.cpp.


The documentation for this struct was generated from the following file: