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