summaryrefslogtreecommitdiff
path: root/ACE/protocols/ace/INet/RequestHandler.h
blob: 73e1a7e7e70635fbdf80d1f8652bf97a5d2ede84 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
// $Id$

/**
 * @file RequestHandler.h
 *
 * @author Martin Corino <mcorino@remedy.nl>
 */

#ifndef ACE_INET_REQUEST_HANDLER_H
#define ACE_INET_REQUEST_HANDLER_H

#include /**/ "ace/pre.h"

#include "ace/INet/INet_Export.h"
#include "ace/INet/Request.h"
#include "ace/INet/Response.h"

ACE_BEGIN_VERSIONED_NAMESPACE_DECL

namespace ACE
  {
    namespace INet
      {

        /**
        * @class ACE_INet_RequestHandler
        *
        * @brief Abstract base for request handlers.
        *
        */
        class ACE_INET_Export RequestHandler
          {
            public:
              RequestHandler ();
              virtual ~RequestHandler ();

              virtual Request& request () = 0;

              virtual const Request& request () const = 0;

              virtual Response& response () = 0;

              virtual const Response& response () const = 0;
          };

      }
  }

ACE_END_VERSIONED_NAMESPACE_DECL

#include /**/ "ace/post.h"
#endif /* ACE_INET_REQUEST_HANDLER_H */