Public Member Functions | Private Member Functions | Private Attributes | List of all members
rosserial_server::TcpServer< Session > Class Template Reference

#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_
 

Detailed Description

template<typename Session = rosserial_server::Session<tcp::socket>>
class rosserial_server::TcpServer< Session >

Definition at line 52 of file tcp_server.h.

Constructor & Destructor Documentation

template<typename Session = rosserial_server::Session<tcp::socket>>
rosserial_server::TcpServer< Session >::TcpServer ( boost::asio::io_service &  io_service,
short  port 
)
inline

Definition at line 55 of file tcp_server.h.

Member Function Documentation

template<typename Session = rosserial_server::Session<tcp::socket>>
void rosserial_server::TcpServer< Session >::handle_accept ( Session new_session,
const boost::system::error_code &  error 
)
inlineprivate

Definition at line 71 of file tcp_server.h.

template<typename Session = rosserial_server::Session<tcp::socket>>
void rosserial_server::TcpServer< Session >::start_accept ( )
inlineprivate

Definition at line 63 of file tcp_server.h.

Member Data Documentation

template<typename Session = rosserial_server::Session<tcp::socket>>
tcp::acceptor rosserial_server::TcpServer< Session >::acceptor_
private

Definition at line 87 of file tcp_server.h.

template<typename Session = rosserial_server::Session<tcp::socket>>
boost::asio::io_service& rosserial_server::TcpServer< Session >::io_service_
private

Definition at line 86 of file tcp_server.h.


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


rosserial_server
Author(s): Mike Purvis
autogenerated on Mon Jun 10 2019 14:53:36