diff options
Diffstat (limited to 'TAO/tao/Service_Context_Handler_Registry.cpp')
-rw-r--r-- | TAO/tao/Service_Context_Handler_Registry.cpp | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/TAO/tao/Service_Context_Handler_Registry.cpp b/TAO/tao/Service_Context_Handler_Registry.cpp index 5fd8a69cf67..8323b56f41d 100644 --- a/TAO/tao/Service_Context_Handler_Registry.cpp +++ b/TAO/tao/Service_Context_Handler_Registry.cpp @@ -32,6 +32,29 @@ TAO_Service_Context_Registry::process_service_contexts ( return 0; } +int +TAO_Service_Context_Registry::generate_service_context ( + TAO_Stub *stub, + TAO_Transport& transport, + TAO_Operation_Details &opdetails, + TAO_Target_Specification &spec, + TAO_OutputCDR &msg) +{ + int result = 0; + for (Table::iterator x = this->registry_.begin (); + x != this->registry_.end (); + ++x) + { + if ((*x).second->generate_service_context ( + stub, transport, opdetails, spec, msg) == -1) + { + result = -1; + } + } + + return result; +} + TAO_Service_Context_Registry::~TAO_Service_Context_Registry (void) { for (Table::iterator x = this->registry_.begin (); |