#include <airinv/server/Request.hpp>
Public Member Functions | |
bool | parseFlightDate () |
Public Attributes | |
std::string | _flightDetails |
stdair::AirlineCode_T | _airlineCode |
stdair::FlightNumber_T | _flightNumber |
stdair::Date_T | _departureDate |
A request received from a client.
Definition at line 18 of file Request.hpp.
bool AIRINV::Request::parseFlightDate | ( | ) |
Parse the incoming request.
Expected requested is of the form: <airline_code>,<flight_number>,<flight_date>, where date format is YYYY-MM-DD. For instance: BA,341,2010-09-20.
Definition at line 12 of file Request.cpp.
References _airlineCode, _departureDate, and _flightNumber.
Referenced by AIRINV::RequestHandler::handleRequest().
std::string AIRINV::Request::_flightDetails |
String as it comes from the connected client.
Definition at line 29 of file Request.hpp.
Referenced by AIRINV::RequestHandler::handleRequest().
stdair::AirlineCode_T AIRINV::Request::_airlineCode |
stdair::FlightNumber_T AIRINV::Request::_flightNumber |
stdair::Date_T AIRINV::Request::_departureDate |