Joedb 9.5.0
The Journal-Only Embedded Database
Loading...
Searching...
No Matches
Connector.h
Go to the documentation of this file.
1#ifndef joedb_Connector_declared
2#define joedb_Connector_declared
3
5
6#include <memory>
7
8namespace joedb
9{
10 /// Used by @ref Robust_Connection to reconnect after an error
11 ///
12 /// @ingroup concurrency
14 {
15 public:
16 virtual std::unique_ptr<Channel> new_channel() const = 0;
17 virtual ~Connector() = default;
18 };
19}
20
21#endif
Used by Robust_Connection to reconnect after an error.
Definition Connector.h:14
virtual std::unique_ptr< Channel > new_channel() const =0
virtual ~Connector()=default
Definition Blob.h:7