#include <server.hh>
Public Member Functions | |
Server (NetObserver *) | |
Public Member Functions inherited from eclipse::network::AsyncChannel | |
AsyncChannel (NetObserver *node_) | |
virtual | ~AsyncChannel () |
void | do_write (messages::Message *) override |
Write asynchronously the message. More... | |
void | do_write (std::shared_ptr< std::string > &) |
Write asynchronously the message sharing the payload. More... | |
void | do_write_buffer () |
Write asynchronously the message sharing the payload. More... | |
void | do_read () |
This method implements the reading loop. More... | |
tcp::socket & | get_socket () |
Get internal socket. More... | |
void | commit (std::shared_ptr< std::string > &) |
Add a message to the sending queue. More... | |
Public Member Functions inherited from eclipse::network::Channel | |
Channel ()=default | |
virtual | ~Channel ()=default |
Static Public Member Functions | |
static bool | is_multiple () |
Server::Server | ( | NetObserver * | node_ | ) |
|
static |