libjmmcg
release_579_6_g8cffd
A C++ library containing an eclectic mix of useful, advanced components.
|
Public Types | |
enum | : std::size_t { header_t_size =sizeof(Header_t) } |
enum | : unsigned { max_missed_heartbeats =1 } |
enum | : std::size_t { header_t_size =sizeof(Header_t) } |
enum | : unsigned { max_missed_heartbeats =1 } |
![]() | |
enum | : bool { has_static_size =true } |
enum | : bool { has_static_size =true } |
Public Member Functions | |
constexpr | heartbeat () noexcept(true) |
constexpr | heartbeat () noexcept(true) |
![]() | |
constexpr | Header_t (std::size_t l) noexcept(true) |
constexpr std::size_t | length () const noexcept(true) |
constexpr bool | is_valid () const noexcept(true) |
constexpr | Header_t (std::size_t l) noexcept(true) |
constexpr std::size_t | length () const noexcept(true) |
constexpr bool | is_valid () const noexcept(true) |
Public Attributes | |
const uint64_t | c =69 |
![]() | |
const std::size_t | length_ |
std::uint64_t | sequence {} |
Static Public Attributes | |
static constexpr std::chrono::seconds | heartbeat_interval {1} |
Definition at line 90 of file socket_server.cpp.
anonymous enum : std::size_t |
Enumerator | |
---|---|
header_t_size |
Definition at line 91 of file socket_server.cpp.
anonymous enum : unsigned |
Enumerator | |
---|---|
max_missed_heartbeats |
Definition at line 94 of file socket_server.cpp.
anonymous enum : std::size_t |
Enumerator | |
---|---|
header_t_size |
Definition at line 91 of file socket_server.cpp.
anonymous enum : unsigned |
Enumerator | |
---|---|
max_missed_heartbeats |
Definition at line 94 of file socket_server.cpp.
|
inlineconstexprnoexcept |
Definition at line 101 of file socket_server.cpp.
References msgs_t::static_size::Header_t::Header_t().
|
inlineconstexprnoexcept |
Definition at line 101 of file socket_server.cpp.
const uint64_t msgs_t::static_size::heartbeat::c =69 |
Definition at line 99 of file socket_server.cpp.
|
inlinestaticconstexpr |
Definition at line 97 of file socket_server.cpp.