1#ifndef joedb_Server_File_declared
2#define joedb_Server_File_declared
30 size_t remote_pread(
char *data,
size_t size,
int64_t offset)
const;
31 static void write_to_body_error();
32 void write_checkpoint();
36 std::chrono::milliseconds
wait,
55 std::chrono::milliseconds
wait
61 std::chrono::milliseconds
wait
75 size_t pread(
char *data,
size_t size,
int64_t offset)
const override;
76 void pwrite(
const char *data,
size_t size,
int64_t offset)
override;
int64_t get_size() const override
Thread_Safe_Channel channel
Directly read file served from joedb_server.
int64_t handshake(Readonly_Journal &client_journal, bool content_check) override
Called during Client construction.
int64_t get_size() const override
int64_t lock_pull(Writable_Journal &client_journal, std::chrono::milliseconds wait) override
Fused lock_pull, executed at the start of a write transaction.
std::string read_blob_data(Blob blob) const override
size_t pread(char *data, size_t size, int64_t offset) const override
void pwrite(const char *data, size_t size, int64_t offset) override
int64_t push_until(Readonly_Journal &client_journal, int64_t server_position, int64_t until_position, bool unlock_after) override
Push new data to the connection.