libjmmcg  build_2414
A C++ library containing an eclectic mix of useful, advanced components.
jmmcg::socket::server_manager::manager< socket::asio::socket_wrapper > Class Template Reference

#include <socket_server_manager.hpp>

Inheritance diagram for jmmcg::socket::server_manager::manager< socket::asio::socket_wrapper >:
[legend]
Collaboration diagram for jmmcg::socket::server_manager::manager< socket::asio::socket_wrapper >:
[legend]

Additional Inherited Members

- Public Types inherited from jmmcg::socket::server_manager::asio::manager
enum  : typename client_cxns_t::key_type { the_client_cxn =0 }
 
using socket_t = socket::asio::socket_wrapper
 
using acceptor_t = boost::asio::ip::tcp::acceptor
 
using lock_t = std::unique_lock< std::mutex >
 
using client_cxns_t = std::map< unsigned, tcp_connection::ptr_type >
 The collection of connected clients. More...
 
- Public Member Functions inherited from jmmcg::socket::server_manager::asio::manager
 manager (boost::asio::ip::address const &addr, unsigned short port_num, std::size_t min_message_size, std::size_t max_message_size)
 Create a new connection to the specified TCP socket using the TCP/IP protocol. More...
 
bool empty () const noexcept(true)
 
client_cxns_t::const_iterator find (client_cxns_t::key_type const &k) const noexcept(true)
 
void start_heartbeats ()
 
void run ()
 Blocking wait for a new connection from a client. More...
 
void stop ()
 
std::string to_string () const noexcept(false)
 
- Static Public Member Functions inherited from jmmcg::socket::server_manager::asio::manager
static void set_options (acceptor_t &acceptor, socket_t &skt)
 
- Protected Types inherited from jmmcg::socket::server_manager::asio::manager
using read_lock_t = lock_t
 
using write_lock_t = lock_t
 
- Protected Member Functions inherited from jmmcg::socket::server_manager::asio::manager
 ~manager ()=default
 
void set_options (socket_t &skt)
 
- Protected Attributes inherited from jmmcg::socket::server_manager::asio::manager
boost::asio::io_service io_service
 
acceptor_t acceptor
 
lock_t::mutex_type client_cxns_lock_
 
client_cxns_t client_cxns_
 

Detailed Description

template<>
class jmmcg::socket::server_manager::manager< socket::asio::socket_wrapper >

Definition at line 33 of file socket_server_manager.hpp.


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