Service_Context_Handler_Registry.cpp File Reference

#include "tao/Service_Context_Handler_Registry.h"
#include "tao/TAO_Server_Request.h"
#include "tao/Service_Context_Handler.h"
Include dependency graph for Service_Context_Handler_Registry.cpp:

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

Function Documentation

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 }

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on Fri Nov 6 23:37:54 2009 for TAO by  doxygen 1.6.1