helics  3.5.2
Public Member Functions | List of all members
helics::TimeoutMonitor Class Reference

#include <TimeoutMonitor.h>

Public Member Functions

void tick (CommonCore *core)
 
void tick (CoreBroker *brk)
 
void pingReply (const ActionMessage &cmd, CoreBroker *brk=nullptr)
 
void setTimeout (std::chrono::milliseconds to)
 
void reset ()
 
void pingSub (CoreBroker *brk)
 
void setParentId (GlobalBrokerId parent_id)
 
void disableParentPing (bool value=true)
 

Detailed Description

class to handle timeouts and other issues for cores and brokers

Member Function Documentation

◆ disableParentPing()

void helics::TimeoutMonitor::disableParentPing ( bool  value = true)
inline

set the "pingability" of a parent connection

◆ pingReply()

void helics::TimeoutMonitor::pingReply ( const ActionMessage cmd,
CoreBroker brk = nullptr 
)

◆ pingSub()

void helics::TimeoutMonitor::pingSub ( CoreBroker brk)

◆ reset()

void helics::TimeoutMonitor::reset ( )

reset the monitor to initial conditions

References helics::linkConnection::waitingForPingReply.

◆ setParentId()

void helics::TimeoutMonitor::setParentId ( GlobalBrokerId  parent_id)
inline

set the parent id

◆ setTimeout()

void helics::TimeoutMonitor::setTimeout ( std::chrono::milliseconds  to)
inline

set the overall timeout for the connection monitor

◆ tick() [1/2]

void helics::TimeoutMonitor::tick ( CommonCore core)

◆ tick() [2/2]

void helics::TimeoutMonitor::tick ( CoreBroker brk)

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