1 #ifndef __AIRINV_SVR_AIRINVSERVER_HPP
2 #define __AIRINV_SVR_AIRINVSERVER_HPP
11 #include <boost/asio.hpp>
12 #include <boost/noncopyable.hpp>
13 #include <boost/shared_ptr.hpp>
15 #include <stdair/stdair_basic_types.hpp>
29 AirInvServer (
const std::string& address,
const std::string& port,
30 const stdair::AirlineCode_T& iAirlineCode,
31 std::size_t thread_pool_size);
55 void handleAccept (
const boost::system::error_code& e);
58 std::size_t _threadPoolSize;
61 boost::asio::io_service _ioService;
64 boost::asio::ip::tcp::acceptor _acceptor;
74 #endif // __AIRINV_SVR_AIRINVSERVER_HPP