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

RPC Server. More...

#include <joedb/rpc/Server.h>

Inheritance diagram for joedb::rpc::Server:
Inheritance graph
[legend]
Collaboration diagram for joedb::rpc::Server:
Collaboration graph
[legend]

Classes

class  Session
 

Public Member Functions

 Server (Logger &logger, int log_level, int thread_count, std::string endpoint_path, const std::vector< Signature > &signatures, const std::vector< Procedure * > &procedures)
 
- Public Member Functions inherited from joedb::asio::Server
 Server (Logger &logger, int log_level, int thread_count, std::string endpoint_path)
 
int get_log_level () const
 
const std::string & get_endpoint_path () const
 
bool is_joined () const
 
void stop ()
 
void join ()
 
virtual void cleanup_after_join ()
 
virtual ~Server ()
 

Protected Member Functions

std::unique_ptr< joedb::asio::Server::Sessionnew_session (boost::asio::local::stream_protocol::socket &&socket) override
 
- Protected Member Functions inherited from joedb::asio::Server
void log (std::string_view s)
 

Additional Inherited Members

- Protected Attributes inherited from joedb::asio::Server
Loggerlogger
 
const int log_level
 
const int thread_count
 
boost::asio::thread_pool thread_pool
 
bool joined
 
const std::string endpoint_path
 
boost::asio::local::stream_protocol::endpoint endpoint
 
boost::asio::local::stream_protocol::acceptor acceptor
 
boost::asio::signal_set interrupt_signals
 

Detailed Description

Definition at line 17 of file Server.h.

Constructor & Destructor Documentation

◆ Server()

joedb::rpc::Server::Server ( Logger logger,
int  log_level,
int  thread_count,
std::string  endpoint_path,
const std::vector< Signature > &  signatures,
const std::vector< Procedure * > &  procedures 
)
inline

Definition at line 199 of file Server.h.

Member Function Documentation

◆ new_session()

std::unique_ptr< joedb::asio::Server::Session > joedb::rpc::Server::new_session ( boost::asio::local::stream_protocol::socket &&  socket)
inlineoverrideprotectedvirtual

Implements joedb::asio::Server.

Definition at line 188 of file Server.h.


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