00001 // $Id: Request_Dispatcher.cpp 76551 2007-01-24 13:42:44Z johnnyw $ 00002 00003 #include "tao/Request_Dispatcher.h" 00004 #include "tao/TAO_Server_Request.h" 00005 #include "tao/ORB_Core.h" 00006 00007 ACE_RCSID (tao, 00008 Request_Dispatcher, 00009 "$Id: Request_Dispatcher.cpp 76551 2007-01-24 13:42:44Z johnnyw $") 00010 00011 TAO_BEGIN_VERSIONED_NAMESPACE_DECL 00012 00013 TAO_Request_Dispatcher::~TAO_Request_Dispatcher (void) 00014 { 00015 } 00016 00017 void 00018 TAO_Request_Dispatcher::dispatch (TAO_ORB_Core *orb_core, 00019 TAO_ServerRequest &request, 00020 CORBA::Object_out forward_to) 00021 { 00022 // Dispatch based on object key 00023 orb_core->adapter_registry ()->dispatch (request.object_key (), 00024 request, 00025 forward_to); 00026 } 00027 00028 TAO_END_VERSIONED_NAMESPACE_DECL