#ifndef LOBBY_H #define LOBBY_H #include #include "tcpserver.h" class Lobby { private: boost::asio::io_service io_service; TCPServer server; //! Handle new connection. void handle_connect(Connection::p connection); //! Handle login. void handle_login(Connection::p connection, Message::p msg); public: Lobby(); void run(); }; #endif