Obsidian
Probabilistic Geophysical Joint Inversion
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
stateline::comms::ClientHeartbeat Class Reference

Handles heartbeating on the client side. Client heartbeat assumes only one connection (to the server), so sends and receives to one source only. More...

#include <clientheartbeat.hpp>

Public Member Functions

 ClientHeartbeat (zmq::context_t &context, const HeartbeatSettings &settings)
 Create a new client heartbeat thread. More...
 
 ~ClientHeartbeat ()
 Cleanup resources used by the heartbeat thread.
 
void start ()
 Start the heartbeat thread.
 
void stop ()
 Stop the heartbeat thread.
 

Detailed Description

Handles heartbeating on the client side. Client heartbeat assumes only one connection (to the server), so sends and receives to one source only.

Constructor & Destructor Documentation

stateline::comms::ClientHeartbeat::ClientHeartbeat ( zmq::context_t &  context,
const HeartbeatSettings settings 
)

Create a new client heartbeat thread.

Parameters
contextThe ZMQ context.
settingsHeartbeat settings.

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