#include <tcp_echo_server.hpp>
Public Types | |
typedef websocketpp::lib::shared_ptr< tcp_echo_session > | ptr |
Public Member Functions | |
tcp_echo_session (asio::io_service &service) | |
void | start () |
void | handle_read (const asio::error_code &ec, size_t transferred) |
void | handle_write (const asio::error_code &ec) |
Public Attributes | |
asio::ip::tcp::socket | m_socket |
char | m_buffer [1024] |
Definition at line 44 of file tcp_echo_server.hpp.
typedef websocketpp::lib::shared_ptr<tcp_echo_session> tcp_echo_session::ptr |
Definition at line 45 of file tcp_echo_server.hpp.
|
inline |
Definition at line 47 of file tcp_echo_server.hpp.
Referenced by tcp_echo_server::start_accept().
|
inline |
Definition at line 49 of file tcp_echo_server.hpp.
References handle_read(), m_buffer, and m_socket.
|
inline |
Definition at line 55 of file tcp_echo_server.hpp.
References handle_write(), m_buffer, and m_socket.
Referenced by handle_write(), and start().
|
inline |
Definition at line 63 of file tcp_echo_server.hpp.
References handle_read(), m_buffer, and m_socket.
Referenced by handle_read().
asio::ip::tcp::socket tcp_echo_session::m_socket |
Definition at line 70 of file tcp_echo_server.hpp.
Referenced by handle_read(), handle_write(), and start().
char tcp_echo_session::m_buffer[1024] |
Definition at line 71 of file tcp_echo_server.hpp.
Referenced by handle_read(), handle_write(), and start().