Class that should be implemented to handle new connection events. More...
#include <ana.hpp>

Public Member Functions | |
| virtual | ~connection_handler () |
| virtual void | handle_connect (error_code, net_id)=0 |
| Handle new connection event. | |
Class that should be implemented to handle new connection events.
Definition at line 297 of file ana.hpp.
| virtual ana::connection_handler::~connection_handler | ( | ) | [inline, virtual] |
| virtual void ana::connection_handler::handle_connect | ( | error_code | , | |
| net_id | ||||
| ) | [pure virtual] |
Handle new connection event.
| error_code | : Error code of the event. | |
| net_id | : ID of the client that connects. |
Implemented in ChatClient, ChatServer, ChatClient, clients_manager, and ana_connect_handler.
Referenced by asio_server::handle_accept(), and asio_client::inform_connection_result().

| Generated by doxygen 1.7.1 on Fri May 25 2012 01:17:59 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |