1#ifndef joedb_Server_Client_declared
2#define joedb_Server_Client_declared
8#include <condition_variable>
21 std::chrono::seconds keep_alive_interval;
22 std::condition_variable condition;
24 bool keep_alive_thread_must_stop;
25 std::thread keep_alive_thread;
53 keep_alive_interval = duration;
int64_t server_checkpoint
void set_keep_alive_interval(std::chrono::seconds duration)
void download(Async_Writer &writer, Channel_Lock &lock, int64_t size) const
void set_log(std::ostream *stream)
int64_t get_session_id() const
Thread_Safe_Channel & get_channel()
Thread_Safe_Channel channel
Directly read file served from joedb_server.