Joedb 9.1.4
The Journal-Only Embedded Database
Loading...
Searching...
No Matches
Client_Command_Processor.h
Go to the documentation of this file.
2
3#include <chrono>
4
5namespace joedb
6{
7 class Client;
8
9 /// @ingroup ui
11 {
12 private:
13 Client &client;
14
15 void pull(std::ostream &out, std::chrono::milliseconds wait);
16 void print_status(std::ostream &out);
17 static void sleep(int seconds, std::ostream &out);
18
19 void write_prompt(std::ostream &out) const override;
20
21 Status process_command
22 (
23 const std::string &command,
24 std::istream &parameters,
25 std::istream &in,
26 std::ostream &out
27 ) override;
28
29 public:
30 Client_Command_Processor(Client &client): client(client) {}
31 };
32}
Handle concurrent access to a file with a joedb::Connection.
Definition Client.h:12
Definition Blob.h:7