Public Member Functions | |
TcpServer (boost::asio::io_service &io_service, short port) | |
Private Member Functions | |
void | handle_accept (Session *new_session, const boost::system::error_code &error) |
void | start_accept () |
Private Attributes | |
tcp::acceptor | acceptor_ |
boost::asio::io_service & | io_service_ |
Definition at line 48 of file socket_node.cpp.
TcpServer< Session >::TcpServer | ( | boost::asio::io_service & | io_service, |
short | port | ||
) | [inline] |
Definition at line 51 of file socket_node.cpp.
void TcpServer< Session >::handle_accept | ( | Session * | new_session, |
const boost::system::error_code & | error | ||
) | [inline, private] |
Definition at line 67 of file socket_node.cpp.
void TcpServer< Session >::start_accept | ( | ) | [inline, private] |
Definition at line 59 of file socket_node.cpp.
Definition at line 83 of file socket_node.cpp.
boost::asio::io_service& TcpServer< Session >::io_service_ [private] |
Definition at line 82 of file socket_node.cpp.