#include <airinv/server/Connection.hpp>
Public Member Functions | |
Connection (boost::asio::io_service &, RequestHandler &) | |
boost::asio::ip::tcp::socket & | socket () |
void | start () |
Represents a single connection from a client.
Definition at line 25 of file Connection.hpp.
AIRINV::Connection::Connection | ( | boost::asio::io_service & | ioService, |
RequestHandler & | ioHandler | ||
) |
Constructor.
Construct a connection with the given io_service.
Definition at line 16 of file Connection.cpp.
boost::asio::ip::tcp::socket & AIRINV::Connection::socket | ( | ) |
Get the socket associated with the connection.
Definition at line 22 of file Connection.cpp.
void AIRINV::Connection::start | ( | ) |
Start the first asynchronous operation for the connection.
Definition at line 27 of file Connection.cpp.