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

Channel to communicate with a (secure) Websocket. More...

#include <joedb/concurrency/Websocket_Channel.h>

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

Public Member Functions

 Websocket_Channel (const std::string &host, const std::string &port, const std::string &path)
 
size_t write_some (const char *data, size_t size) override
 
size_t read_some (char *data, size_t size) override
 
 ~Websocket_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 ()
 

Detailed Description

Definition at line 20 of file Websocket_Channel.h.

Constructor & Destructor Documentation

◆ Websocket_Channel()

joedb::Websocket_Channel::Websocket_Channel ( const std::string &  host,
const std::string &  port,
const std::string &  path 
)

Definition at line 104 of file Websocket_Channel.cpp.

◆ ~Websocket_Channel()

joedb::Websocket_Channel::~Websocket_Channel ( )
overridedefault

Member Function Documentation

◆ read_some()

size_t joedb::Websocket_Channel::read_some ( char *  data,
size_t  size 
)
overridevirtual

Implements joedb::Channel.

Definition at line 119 of file Websocket_Channel.cpp.

◆ write_some()

size_t joedb::Websocket_Channel::write_some ( const char *  data,
size_t  size 
)
overridevirtual

Implements joedb::Channel.

Definition at line 114 of file Websocket_Channel.cpp.


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