$treeview $search $mathjax
AirInv Logo  1.00.0
$projectbrief
$projectbrief
$searchbox

AIRINV::Connection Class Reference

#include <airinv/server/Connection.hpp>

Inheritance diagram for AIRINV::Connection:

enable_shared_from_this noncopyable List of all members.

Public Member Functions

 Connection (boost::asio::io_service &, RequestHandler &)
boost::asio::ip::tcp::socket & socket ()
void start ()

Detailed Description

Represents a single connection from a client.

Definition at line 25 of file Connection.hpp.


Constructor & Destructor Documentation

AIRINV::Connection::Connection ( boost::asio::io_service &  ,
RequestHandler  
)

Constructor.
Construct a connection with the given io_service.

Definition at line 16 of file Connection.cpp.


Member Function Documentation

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.


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