Realistic 3D camera system
3D camera system components
Public Member Functions | List of all members
http::server2::connection Class Reference

Represents a single connection from a client. More...

#include <connection.hpp>

Inheritance diagram for http::server2::connection:

Public Member Functions

 connection (asio::io_service &io_service, request_handler &handler)
 Construct a connection with the given io_service. More...
 
asio::ip::tcp::socketsocket ()
 Get the socket associated with the connection. More...
 
void start ()
 Start the first asynchronous operation for the connection. More...
 

Detailed Description

Represents a single connection from a client.

Definition at line 28 of file connection.hpp.

Constructor & Destructor Documentation

connection::connection ( asio::io_service io_service,
request_handler handler 
)
explicit

Construct a connection with the given io_service.

Definition at line 19 of file connection.cpp.

Member Function Documentation

asio::ip::tcp::socket & connection::socket ( )

Get the socket associated with the connection.

Definition at line 26 of file connection.cpp.

void connection::start ( )

Start the first asynchronous operation for the connection.

Definition at line 31 of file connection.cpp.


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