Joedb 10.2.1
The Journal-Only Embedded Database
Loading...
Searching...
No Matches
Public Member Functions | List of all members
joedb::Connector Class Referenceabstract

Used by Robust_Connection to reconnect after an error. More...

#include <joedb/concurrency/Connector.h>

Inheritance diagram for joedb::Connector:
Inheritance graph
[legend]

Public Member Functions

virtual std::unique_ptr< Channelnew_channel () const =0
 
virtual ~Connector ()=default
 
std::chrono::milliseconds get_keep_alive_interval () const
 
Connectorset_keep_alive_interval (std::chrono::milliseconds interval)
 

Detailed Description

Definition at line 14 of file Connector.h.

Constructor & Destructor Documentation

◆ ~Connector()

virtual joedb::Connector::~Connector ( )
virtualdefault

Member Function Documentation

◆ get_keep_alive_interval()

std::chrono::milliseconds joedb::Connector::get_keep_alive_interval ( ) const
inline

Definition at line 23 of file Connector.h.

◆ new_channel()

virtual std::unique_ptr< Channel > joedb::Connector::new_channel ( ) const
pure virtual

◆ set_keep_alive_interval()

Connector & joedb::Connector::set_keep_alive_interval ( std::chrono::milliseconds  interval)
inline

Definition at line 28 of file Connector.h.


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