00001 // Request_Dispatcher.cpp,v 1.8 2006/03/10 07:19:06 jtc Exp 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 "Request_Dispatcher.cpp,v 1.8 2006/03/10 07:19:06 jtc Exp") 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 ACE_ENV_ARG_DECL) 00022 { 00023 // Dispatch based on object key 00024 orb_core->adapter_registry ()->dispatch (request.object_key (), 00025 request, 00026 forward_to 00027 ACE_ENV_ARG_PARAMETER); 00028 ACE_CHECK; 00029 } 00030 00031 TAO_END_VERSIONED_NAMESPACE_DECL