Revert "Minor modernization of DynamicAny code"
[ACE_TAO.git] / TAO / tao / Request_Dispatcher.h
blob66fd7b984d2e3f9fe087954ca83bb3bd1927fb49
1 // -*- C++ -*-
3 //=============================================================================
4 /**
5 * @file Request_Dispatcher.h
7 * A class that strategizes the request dispatching procedure.
9 * @author Frank Hunleth <fhunleth@cs.wustl.edu>
11 //=============================================================================
14 #ifndef TAO_REQUEST_DISPATCHER_H
15 #define TAO_REQUEST_DISPATCHER_H
17 #include /**/ "ace/pre.h"
19 #include "tao/Objref_VarOut_T.h"
21 #if !defined (ACE_LACKS_PRAGMA_ONCE)
22 # pragma once
23 #endif /* ACE_LACKS_PRAGMA_ONCE */
25 #include "tao/TAO_Export.h"
26 #include "tao/Pseudo_VarOut_T.h"
28 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
30 class TAO_ORB_Core;
31 class TAO_ServerRequest;
33 namespace CORBA
35 class Object;
36 typedef TAO_Pseudo_Var_T<Object> Object_var;
37 typedef TAO_Pseudo_Out_T<Object> Object_out;
40 /**
41 * @class TAO_Request_Dispatcher
43 * @brief A class that strategizes the request dispatching procedure.
45 class TAO_Export TAO_Request_Dispatcher
47 public:
48 /// Destructor.
49 virtual ~TAO_Request_Dispatcher ();
51 /**
52 * Dispatch a request.
54 virtual void dispatch (TAO_ORB_Core *orb_core,
55 TAO_ServerRequest &request,
56 CORBA::Object_out forward_to);
59 TAO_END_VERSIONED_NAMESPACE_DECL
61 #include /**/ "ace/post.h"
63 #endif /* TAO_REQUEST_DISPATCHER_H */