AirInv Logo  1.00.0
C++ Simulated Airline Inventory Management System library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
AIRINV::AirInvServer Class Reference

#include <airinv/server/AirInvServer.hpp>

+ Inheritance diagram for AIRINV::AirInvServer:

List of all members.

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 ()

Detailed Description

The top-level class of the AirInv server.

Definition at line 23 of file AirInvServer.hpp.

Constructor & Destructor Documentation

AIRINV::AirInvServer::AirInvServer ( const std::string &  address,
const std::string &  port,
const stdair::AirlineCode_T &  iAirlineCode,
std::size_t  thread_pool_size 

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 ( )


Definition at line 46 of file AirInvServer_ASIO.cpp.

Member Function Documentation

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.

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