Realistic 3D camera system
3D camera system components
|
Represents a single connection from a client. More...
#include <connection.hpp>
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::socket & | socket () |
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 | |
connection & | operator= (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... | |
Represents a single connection from a client.
Definition at line 30 of file connection.hpp.
|
explicit |
Construct a connection with the given io_service.
Definition at line 20 of file connection.cpp.
|
delete |
|
explicit |
Construct a connection with the given socket.
Definition at line 20 of file connection.cpp.
|
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.