#include "tao/Service_Context_Handler_Registry.h"#include "tao/TAO_Server_Request.h"#include "tao/Service_Context_Handler.h"
Go to the source code of this file.
Functions | |
| ACE_RCSID (tao, Service_Context_Handler_Registry,"$Id: Service_Context_Handler_Registry.cpp 84860 2009-03-17 10:17:38Z johnnyw $") 1 int TAO_Service_Context_Registry | |
| ACE_RCSID | ( | tao | , | |
| Service_Context_Handler_Registry | , | |||
| "$Id: Service_Context_Handler_Registry.cpp 84860 2009-03-17 10:17:38Z johnnyw $" | ||||
| ) |
Definition at line 5 of file Service_Context_Handler_Registry.cpp.
00007 : Service_Context_Handler_Registry.cpp 84860 2009-03-17 10:17:38Z johnnyw $") 00008 00009 #include "tao/TAO_Server_Request.h" 00010 #include "tao/Service_Context_Handler.h" 00011 00012 TAO_BEGIN_VERSIONED_NAMESPACE_DECL 00013 00014 int 00015 TAO_Service_Context_Registry::process_service_contexts ( 00016 IOP::ServiceContextList &sc, 00017 TAO_Transport& transport) 00018 { 00019 for (CORBA::ULong index = 0; 00020 index != sc.length (); 00021 ++index) 00022 { 00023 IOP::ServiceContext const & context = sc[index]; 00024 00025 iterator handler_iter = this->registry_.find (context.context_id); 00026 00027 if (handler_iter != registry_.end ()) 00028 { 00029 return handler_iter->second->process_service_context (transport, context); 00030 } 00031 } 00032 return 0; 00033 }
1.6.1