Joedb 10.5.0
The Journal-Only Embedded Database
Loading...
Searching...
No Matches
joedb::Connector Class Referenceabstract

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

#include <joedb/concurrency/Connector.h>

Inheritance diagram for joedb::Connector:

Public Member Functions

virtual std::unique_ptr< Channel > new_channel () const =0
virtual ~Connector ()=default
std::chrono::milliseconds get_keep_alive_interval () const
Connector & set_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: