summaryrefslogtreecommitdiff
path: root/ACE/TAO/tao/Request_Dispatcher.h
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/TAO/tao/Request_Dispatcher.h')
-rw-r--r--ACE/TAO/tao/Request_Dispatcher.h66
1 files changed, 66 insertions, 0 deletions
diff --git a/ACE/TAO/tao/Request_Dispatcher.h b/ACE/TAO/tao/Request_Dispatcher.h
new file mode 100644
index 00000000000..69c5a1c7ea3
--- /dev/null
+++ b/ACE/TAO/tao/Request_Dispatcher.h
@@ -0,0 +1,66 @@
+// -*- C++ -*-
+
+//=============================================================================
+/**
+ * @file Request_Dispatcher.h
+ *
+ * $Id$
+ *
+ * A class that strategizes the request dispatching procedure.
+ *
+ * @author Frank Hunleth <fhunleth@cs.wustl.edu>
+ */
+//=============================================================================
+
+
+#ifndef TAO_REQUEST_DISPATCHER_H
+#define TAO_REQUEST_DISPATCHER_H
+
+#include /**/ "ace/pre.h"
+
+#include "tao/Objref_VarOut_T.h"
+
+#if !defined (ACE_LACKS_PRAGMA_ONCE)
+# pragma once
+#endif /* ACE_LACKS_PRAGMA_ONCE */
+
+#include "tao/TAO_Export.h"
+#include "tao/Pseudo_VarOut_T.h"
+
+TAO_BEGIN_VERSIONED_NAMESPACE_DECL
+
+class TAO_ORB_Core;
+class TAO_ServerRequest;
+
+namespace CORBA
+{
+ class Object;
+ typedef TAO_Pseudo_Var_T<Object> Object_var;
+ typedef TAO_Pseudo_Out_T<Object> Object_out;
+}
+
+/**
+ * @class TAO_Request_Dispatcher
+ *
+ * @brief A class that strategizes the request dispatching procedure.
+ *
+ */
+class TAO_Export TAO_Request_Dispatcher
+{
+public:
+ /// Destructor.
+ virtual ~TAO_Request_Dispatcher (void);
+
+ /**
+ * Dispatch a request.
+ */
+ virtual void dispatch (TAO_ORB_Core *orb_core,
+ TAO_ServerRequest &request,
+ CORBA::Object_out forward_to);
+};
+
+TAO_END_VERSIONED_NAMESPACE_DECL
+
+#include /**/ "ace/post.h"
+
+#endif /* TAO_REQUEST_DISPATCHER_H */