Public Member Functions | Private Member Functions | Private Attributes
rosserial_server::TcpServer< Session > Class Template Reference

#include <tcp_server.h>

List of all members.

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_

Detailed Description

template<typename Session>
class rosserial_server::TcpServer< Session >

Definition at line 49 of file tcp_server.h.


Constructor & Destructor Documentation

template<typename Session >
rosserial_server::TcpServer< Session >::TcpServer ( boost::asio::io_service &  io_service,
short  port 
) [inline]

Definition at line 52 of file tcp_server.h.


Member Function Documentation

template<typename Session >
void rosserial_server::TcpServer< Session >::handle_accept ( Session new_session,
const boost::system::error_code &  error 
) [inline, private]

Definition at line 68 of file tcp_server.h.

template<typename Session >
void rosserial_server::TcpServer< Session >::start_accept ( ) [inline, private]

Definition at line 60 of file tcp_server.h.


Member Data Documentation

template<typename Session >
tcp::acceptor rosserial_server::TcpServer< Session >::acceptor_ [private]

Definition at line 84 of file tcp_server.h.

template<typename Session >
boost::asio::io_service& rosserial_server::TcpServer< Session >::io_service_ [private]

Definition at line 83 of file tcp_server.h.


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


rosserial_server
Author(s): Mike Purvis
autogenerated on Thu Jun 6 2019 19:56:34