summaryrefslogtreecommitdiff
path: root/TAO/tao/Request_Dispatcher.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/Request_Dispatcher.h')
-rw-r--r--TAO/tao/Request_Dispatcher.h48
1 files changed, 48 insertions, 0 deletions
diff --git a/TAO/tao/Request_Dispatcher.h b/TAO/tao/Request_Dispatcher.h
new file mode 100644
index 00000000000..4231dd684ef
--- /dev/null
+++ b/TAO/tao/Request_Dispatcher.h
@@ -0,0 +1,48 @@
+//-*- 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/Object_KeyC.h"
+#include "tao/IOPC.h"
+
+
+/**
+ * @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_ENV_ARG_DECL)
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+};
+
+#include "ace/post.h"
+#endif /* TAO_REQUEST_DISPATCHER_H */