1.00.1
C++ Simulated Airline Inventory Management System library
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
RequestHandler.hpp
Go to the documentation of this file.
1
#ifndef __AIRINV_SVR_REQUESTHANDLER_HPP
2
#define __AIRINV_SVR_REQUESTHANDLER_HPP
3
4
// //////////////////////////////////////////////////////////////////////
5
// Import section
6
// //////////////////////////////////////////////////////////////////////
7
// STL
8
#include <string>
9
// Boost
10
#include <boost/noncopyable.hpp>
11
// StdAir
12
#include <stdair/stdair_basic_types.hpp>
13
// AirInv
14
15
// Forward declarations
16
namespace
stdair
{
17
struct
InventoryKey_T;
18
struct
FlightDateKey_T;
19
}
20
21
namespace
AIRINV
{
22
23
// Forward declarations.
24
struct
Reply;
25
struct
Request;
26
28
class
RequestHandler
:
private
boost::noncopyable {
29
public
:
30
// //////////// Constructors and Destructors /////////////////
34
RequestHandler
(
const
stdair::AirlineCode_T&);
35
36
37
public
:
38
// /////////// Business Support Methods ////////////////
40
bool
handleRequest
(
Request
&,
Reply
&)
const
;
41
42
43
private
:
44
// //////////////// Attributes //////////////////
46
stdair::AirlineCode_T _airlineCode;
47
};
48
49
}
50
#endif // __AIRINV_SVR_REQUESTHANDLER_HPP
AIRINV::Reply
Definition:
Reply.hpp:18
AIRINV
Definition:
AIRINV_Master_Service.hpp:38
AIRINV::RequestHandler::RequestHandler
RequestHandler(const stdair::AirlineCode_T &)
Definition:
RequestHandler.cpp:20
stdair
Forward declarations.
Definition:
AIRINV_Master_Service.hpp:25
AIRINV::RequestHandler
The common handler for all incoming requests.
Definition:
RequestHandler.hpp:28
AIRINV::Request
Definition:
Request.hpp:18
AIRINV::RequestHandler::handleRequest
bool handleRequest(Request &, Reply &) const
Definition:
RequestHandler.cpp:26
Generated on Tue Jun 16 2015 01:11:00 for AirInv by
1.8.9.1