The common handler for all incoming requests. More...
#include <airinv/server/RequestHandler.hpp>
Public Member Functions | |
RequestHandler (const stdair::AirlineCode_T &) | |
bool | handleRequest (Request &, Reply &) const |
The common handler for all incoming requests.
Definition at line 28 of file RequestHandler.hpp.
AIRINV::RequestHandler::RequestHandler | ( | const stdair::AirlineCode_T & | iAirlineCode | ) |
Constructor.
const | stdair::AirlineCode_T& Airline code of the inventory owner. |
Definition at line 20 of file RequestHandler.cpp.
Handle a request and produce a reply.
Definition at line 26 of file RequestHandler.cpp.
References AIRINV::Request::_flightDetails, AIRINV::Reply::_status, AIRINV::Reply::content, AIRINV::FlightRequestStatus::INTERNAL_ERROR, AIRINV::FlightRequestStatus::OK, and AIRINV::Request::parseFlightDate().