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

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

#include <connection.hpp>

Inheritance diagram for http::server::connection:

Public Member Functions

 connection (asio::io_service &io_service, connection_manager &manager, 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...
 
void stop ()
 Stop all asynchronous operations associated with the connection. More...
 
 connection (const connection &)=delete
 
connectionoperator= (const connection &)=delete
 
 connection (asio::ip::tcp::socket socket, connection_manager &manager, request_handler &handler)
 Construct a connection with the given socket. More...
 
void start ()
 Start the first asynchronous operation for the connection. More...
 
void stop ()
 Stop all asynchronous operations associated with the connection. More...
 

Detailed Description

Represents a single connection from a client.

Definition at line 30 of file connection.hpp.

Constructor & Destructor Documentation

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

Construct a connection with the given io_service.

Definition at line 20 of file connection.cpp.

http::server::connection::connection ( const connection )
delete
connection::connection ( asio::ip::tcp::socket  socket,
connection_manager manager,
request_handler handler 
)
explicit

Construct a connection with the given socket.

Definition at line 20 of file connection.cpp.

Member Function Documentation

connection& http::server::connection::operator= ( const connection )
delete
asio::ip::tcp::socket & connection::socket ( )

Get the socket associated with the connection.

Definition at line 28 of file connection.cpp.

void http::server::connection::start ( )

Start the first asynchronous operation for the connection.

void connection::start ( )

Start the first asynchronous operation for the connection.

Definition at line 33 of file connection.cpp.

void http::server::connection::stop ( )

Stop all asynchronous operations associated with the connection.

void connection::stop ( )

Stop all asynchronous operations associated with the connection.

Definition at line 41 of file connection.cpp.


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