$treeview $search $mathjax
00001 #ifndef __AIRINV_SVR_REQUESTHANDLER_HPP 00002 #define __AIRINV_SVR_REQUESTHANDLER_HPP 00003 00004 // ////////////////////////////////////////////////////////////////////// 00005 // Import section 00006 // ////////////////////////////////////////////////////////////////////// 00007 // STL 00008 #include <string> 00009 // Boost 00010 #include <boost/noncopyable.hpp> 00011 // StdAir 00012 #include <stdair/stdair_basic_types.hpp> 00013 // AirInv 00014 00015 // Forward declarations 00016 namespace stdair { 00017 struct InventoryKey_T; 00018 struct FlightDateKey_T; 00019 } 00020 00021 namespace AIRINV { 00022 00023 // Forward declarations. 00024 struct Reply; 00025 struct Request; 00026 00028 class RequestHandler : private boost::noncopyable { 00029 public: 00030 // //////////// Constructors and Destructors ///////////////// 00034 RequestHandler (const stdair::AirlineCode_T&); 00035 00036 00037 public: 00038 // /////////// Business Support Methods //////////////// 00040 bool handleRequest (Request&, Reply&) const; 00041 00042 00043 private: 00044 // //////////////// Attributes ////////////////// 00046 stdair::AirlineCode_T _airlineCode; 00047 }; 00048 00049 } 00050 #endif // __AIRINV_SVR_REQUESTHANDLER_HPP