summaryrefslogtreecommitdiff
path: root/ACE/TAO/tao/Request_Dispatcher.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/TAO/tao/Request_Dispatcher.cpp')
-rw-r--r--ACE/TAO/tao/Request_Dispatcher.cpp28
1 files changed, 28 insertions, 0 deletions
diff --git a/ACE/TAO/tao/Request_Dispatcher.cpp b/ACE/TAO/tao/Request_Dispatcher.cpp
new file mode 100644
index 00000000000..dd44d1338f9
--- /dev/null
+++ b/ACE/TAO/tao/Request_Dispatcher.cpp
@@ -0,0 +1,28 @@
+// $Id$
+
+#include "tao/Request_Dispatcher.h"
+#include "tao/TAO_Server_Request.h"
+#include "tao/ORB_Core.h"
+
+ACE_RCSID (tao,
+ Request_Dispatcher,
+ "$Id$")
+
+TAO_BEGIN_VERSIONED_NAMESPACE_DECL
+
+TAO_Request_Dispatcher::~TAO_Request_Dispatcher (void)
+{
+}
+
+void
+TAO_Request_Dispatcher::dispatch (TAO_ORB_Core *orb_core,
+ TAO_ServerRequest &request,
+ CORBA::Object_out forward_to)
+{
+ // Dispatch based on object key
+ orb_core->adapter_registry ().dispatch (request.object_key (),
+ request,
+ forward_to);
+}
+
+TAO_END_VERSIONED_NAMESPACE_DECL