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

Serves stock quote information to any client that connects to it. More...

Public Member Functions

 server (asio::io_service &io_service, unsigned short port)
 
void handle_accept (const asio::error_code &e, connection_ptr conn)
 Handle completion of a accept operation. More...
 
void handle_write (const asio::error_code &e, connection_ptr conn)
 Handle completion of a write operation. More...
 

Detailed Description

Serves stock quote information to any client that connects to it.

Definition at line 23 of file server.cpp.

Constructor & Destructor Documentation

s11n_example::server::server ( asio::io_service io_service,
unsigned short  port 
)
inline

Constructor opens the acceptor and starts waiting for the first incoming connection.

Definition at line 28 of file server.cpp.

Member Function Documentation

void s11n_example::server::handle_accept ( const asio::error_code e,
connection_ptr  conn 
)
inline

Handle completion of a accept operation.

Definition at line 65 of file server.cpp.

void s11n_example::server::handle_write ( const asio::error_code e,
connection_ptr  conn 
)
inline

Handle completion of a write operation.

Definition at line 85 of file server.cpp.


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