Merge pull request #2216 from jwillemsen/jwi-cxxversionchecks
[ACE_TAO.git] / ACE / protocols / ace / INet / RequestHandler.h
blob37dbb4aa589133f4bd817d217373818818aea8d7
1 /**
2 * @file RequestHandler.h
4 * @author Martin Corino <mcorino@remedy.nl>
5 */
7 #ifndef ACE_INET_REQUEST_HANDLER_H
8 #define ACE_INET_REQUEST_HANDLER_H
10 #include /**/ "ace/pre.h"
12 #include "ace/INet/INet_Export.h"
13 #include "ace/INet/Request.h"
14 #include "ace/INet/Response.h"
16 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
18 namespace ACE
20 namespace INet
22 /**
23 * @class ACE_INet_RequestHandler
25 * @brief Abstract base for request handlers.
28 class ACE_INET_Export RequestHandler
30 public:
31 RequestHandler ();
32 virtual ~RequestHandler ();
34 virtual Request& request () = 0;
36 virtual const Request& request () const = 0;
38 virtual Response& response () = 0;
40 virtual const Response& response () const = 0;
45 ACE_END_VERSIONED_NAMESPACE_DECL
47 #include /**/ "ace/post.h"
48 #endif /* ACE_INET_REQUEST_HANDLER_H */