AirInv Logo  1.00.0
C++ Simulated Airline Inventory Management System library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
AIRINV::Connection Class Reference

#include <airinv/server/Connection.hpp>

+ Inheritance diagram for AIRINV::Connection:

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 &  ioService,
RequestHandler ioHandler 

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: