AppChat
0.5.0
TCP client-server caht application with boost::asio library.
|
#include <connection_manager.h>
Public Member Functions | |
ConnectionManager (database_ptr db) | |
ConnectionManager (const ConnectionManager &)=delete | |
connection_ptr | get_connection (boost::asio::ip::tcp::socket &&_socket) |
get new or old connection for new client More... | |
Manager to control connections from clinets. Use ObjectPool.
connection_ptr ConnectionManager::get_connection | ( | boost::asio::ip::tcp::socket && | _socket | ) |
get new or old connection for new client
_socket |