Joedb 9.4.0
The Journal-Only Embedded Database
|
#include <joedb/concurrency/File_Connection.h>
Public Member Functions | |
File_Connection (Buffered_File &server_file) | |
![]() | |
Journal_Connection (Writable_Journal &server_journal) | |
int64_t | pull (Lock_Action lock_action, Data_Transfer data_transfer, Writable_Journal &client_journal, std::chrono::milliseconds wait) override |
Pull from the connection. | |
int64_t | push (const Readonly_Journal &client_journal, const int64_t from, const int64_t until, Unlock_Action unlock_action) override |
Push new data to the connection. | |
void | unlock () override |
Unlock the connection. | |
~Journal_Connection () | |
![]() | |
Pullonly_Journal_Connection (Readonly_Journal &server_journal) | |
int64_t | handshake (const Readonly_Journal &client_journal, Content_Check content_check) override |
Called during Client construction. | |
int64_t | pull (Lock_Action lock_action, Data_Transfer data_transfer, Writable_Journal &client_journal, std::chrono::milliseconds wait) override |
Pull from the connection. | |
int64_t | push (const Readonly_Journal &client_journal, const int64_t from, const int64_t until, Unlock_Action unlock_action) override |
Push new data to the connection. | |
![]() | |
virtual | ~Connection () |
Additional Inherited Members | |
![]() | |
static void | content_mismatch () |
Called by handshake when the file and the connection do not match. | |
![]() | |
Readonly_Journal & | server_journal |
Definition at line 99 of file File_Connection.h.
|
inline |
Definition at line 105 of file File_Connection.h.