#include <tcp_server.h>
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 52 of file tcp_server.h.
rosserial_server::TcpServer< Session >::TcpServer | ( | boost::asio::io_service & | io_service, |
short | port | ||
) | [inline] |
Definition at line 55 of file tcp_server.h.
void rosserial_server::TcpServer< Session >::handle_accept | ( | Session * | new_session, |
const boost::system::error_code & | error | ||
) | [inline, private] |
Definition at line 71 of file tcp_server.h.
void rosserial_server::TcpServer< Session >::start_accept | ( | ) | [inline, private] |
Definition at line 63 of file tcp_server.h.
tcp::acceptor rosserial_server::TcpServer< Session >::acceptor_ [private] |
Definition at line 87 of file tcp_server.h.
boost::asio::io_service& rosserial_server::TcpServer< Session >::io_service_ [private] |
Definition at line 86 of file tcp_server.h.