Joedb 9.5.0
The Journal-Only Embedded Database
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
joedb::Local_Channel Class Reference

#include <joedb/concurrency/Local_Channel.h>

Inheritance diagram for joedb::Local_Channel:
Inheritance graph
[legend]
Collaboration diagram for joedb::Local_Channel:
Collaboration graph
[legend]

Public Member Functions

 Local_Channel (const std::string &endpoint_path)
 
 ~Local_Channel () override
 
- Public Member Functions inherited from joedb::Channel
void write (const char *data, size_t size)
 
void read (char *data, size_t size)
 
virtual ~Channel ()
 

Protected Member Functions

size_t write_some (const char *data, size_t size) override
 
size_t read_some (char *data, size_t size) override
 

Protected Attributes

asio::io_context io_context
 
asio::local::stream_protocol::socket socket
 

Detailed Description

Definition at line 12 of file Local_Channel.h.

Constructor & Destructor Documentation

◆ Local_Channel()

joedb::Local_Channel::Local_Channel ( const std::string &  endpoint_path)

Definition at line 8 of file Local_Channel.cpp.

◆ ~Local_Channel()

joedb::Local_Channel::~Local_Channel ( )
overridedefault

Member Function Documentation

◆ read_some()

size_t joedb::Local_Channel::read_some ( char *  data,
size_t  size 
)
overrideprotectedvirtual

Implements joedb::Channel.

Definition at line 23 of file Local_Channel.cpp.

◆ write_some()

size_t joedb::Local_Channel::write_some ( const char *  data,
size_t  size 
)
overrideprotectedvirtual

Implements joedb::Channel.

Definition at line 16 of file Local_Channel.cpp.

Member Data Documentation

◆ io_context

asio::io_context joedb::Local_Channel::io_context
protected

Definition at line 15 of file Local_Channel.h.

◆ socket

asio::local::stream_protocol::socket joedb::Local_Channel::socket
protected

Definition at line 16 of file Local_Channel.h.


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