Joedb 9.1.3
The Journal-Only Embedded Database
Loading...
Searching...
No Matches
Classes | Public Member Functions | List of all members
joedb::Server Class Reference

#include <joedb/concurrency/Server.h>

Public Member Functions

 Server (Client &client, bool share_client, asio::io_context &io_context, uint16_t port, std::chrono::milliseconds lock_timeout, std::ostream *log_pointer)
 
uint16_t get_port () const
 
bool is_readonly () const
 
std::chrono::milliseconds get_time_stamp () const
 
void start ()
 
void stop_after_sessions ()
 
void stop ()
 
 ~Server ()
 

Detailed Description

Definition at line 21 of file Server.h.

Constructor & Destructor Documentation

◆ Server()

joedb::Server::Server ( Client client,
bool  share_client,
asio::io_context &  io_context,
uint16_t  port,
std::chrono::milliseconds  lock_timeout,
std::ostream *  log_pointer 
)

Definition at line 810 of file Server.cpp.

◆ ~Server()

joedb::Server::~Server ( )

Definition at line 906 of file Server.cpp.

Member Function Documentation

◆ get_port()

uint16_t joedb::Server::get_port ( ) const
inline

Definition at line 219 of file Server.h.

◆ get_time_stamp()

std::chrono::milliseconds joedb::Server::get_time_stamp ( ) const

Definition at line 18 of file Server.cpp.

◆ is_readonly()

bool joedb::Server::is_readonly ( ) const
inline

Definition at line 221 of file Server.h.

◆ start()

void joedb::Server::start ( )

Definition at line 850 of file Server.cpp.

◆ stop()

void joedb::Server::stop ( )

Definition at line 886 of file Server.cpp.

◆ stop_after_sessions()

void joedb::Server::stop_after_sessions ( )

Definition at line 877 of file Server.cpp.


The documentation for this class was generated from the following files: