#include <airinv/server/AirInvServer.hpp>
Public Member Functions | |
AirInvServer (const std::string &address, const std::string &port, const stdair::AirlineCode_T &iAirlineCode, std::size_t thread_pool_size) | |
~AirInvServer () | |
void | run () |
void | stop () |
The top-level class of the AirInv server.
Definition at line 23 of file AirInvServer.hpp.
AIRINV::AirInvServer::AirInvServer | ( | const std::string & | address, |
const std::string & | port, | ||
const stdair::AirlineCode_T & | iAirlineCode, | ||
std::size_t | thread_pool_size | ||
) |
Constructor.
Construct the server to listen on the specified TCP address and port, and serve up files from the given directory.
Definition at line 20 of file AirInvServer_ASIO.cpp.
AIRINV::AirInvServer::~AirInvServer | ( | ) |
Destructor.
Definition at line 46 of file AirInvServer_ASIO.cpp.
void AIRINV::AirInvServer::run | ( | ) |
Run the server's io_service loop.
Definition at line 50 of file AirInvServer_ASIO.cpp.
Referenced by main().
void AIRINV::AirInvServer::stop | ( | ) |
Stop the server.
Definition at line 69 of file AirInvServer_ASIO.cpp.