summaryrefslogtreecommitdiff
path: root/TAO/tao/Service_Context_Handler.h
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2009-03-17 10:17:38 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2009-03-17 10:17:38 +0000
commite0df6a4970cb995d5fad1357c1d3179284c7466b (patch)
tree85106fba4304c6a62b1ed2b789de4747db2fa488 /TAO/tao/Service_Context_Handler.h
parent9273aa201123e1335da1f305feb323247ee10d47 (diff)
downloadATCD-e0df6a4970cb995d5fad1357c1d3179284c7466b.tar.gz
Tue Mar 17 10:09:22 UTC 2009 Johnny Willemsen <jwillemsen@remedy.nl>
* orbsvcs/orbsvcs/HTIOP/HTIOP_Transport.cpp: * orbsvcs/orbsvcs/HTIOP/HTIOP_Transport.h: * orbsvcs/orbsvcs/SSLIOP/SSLIOP_Acceptor.h: * orbsvcs/orbsvcs/SSLIOP/SSLIOP_Transport.cpp: * orbsvcs/orbsvcs/SSLIOP/SSLIOP_Transport.h: * tao/BiDir_GIOP/BiDir_Service_Context_Handler.cpp: * tao/BiDir_GIOP/BiDir_Service_Context_Handler.h: * tao/Codeset/Codeset_Manager_i.cpp: * tao/Codeset/Codeset_Manager_i.h: * tao/Codeset_Manager.h: * tao/DiffServPolicy/DiffServ_Protocols_Hooks.cpp: * tao/DiffServPolicy/DiffServ_Protocols_Hooks.h: * tao/DiffServPolicy/DiffServ_Service_Context_Handler.cpp: * tao/DiffServPolicy/DiffServ_Service_Context_Handler.h: * tao/DiffServPolicy/DiffServPolicy_ORBInitializer.cpp: * tao/GIOP_Message_Base.cpp: * tao/IIOP_Transport.cpp: * tao/IIOP_Transport.h: * tao/IORManipulation/IORManip_IIOP_Filter.cpp: * tao/LocateRequest_Invocation.cpp: * tao/Makefile.am: * tao/Network_Priority_Protocols_Hooks.h: * tao/ORB_Core.cpp: * tao/ORB_Core.h: * tao/Protocols_Hooks.h: * tao/Remote_Invocation.cpp: * tao/Remote_Invocation.h: * tao/RTCORBA/RT_Endpoint_Selector_Factory.h: * tao/RTCORBA/RT_ORBInitializer.cpp: * tao/RTCORBA/RT_Protocols_Hooks.cpp: * tao/RTCORBA/RT_Protocols_Hooks.h: * tao/RTCORBA/RT_Service_Context_Handler.cpp: * tao/RTCORBA/RT_Service_Context_Handler.h: * tao/RTCORBA/RT_Thread_Lane_Resources_Manager.h: * tao/Service_Context_Handler.h: * tao/Service_Context_Handler_Registry.cpp: * tao/Service_Context_Handler_Registry.h: * tao/Strategies/SCIOP_Transport.cpp: * tao/Strategies/SCIOP_Transport.h: * tao/Transport.cpp: * tao/Transport.h: * tao/TypeCodeFactory/TypeCodeFactory_i.cpp: Refactored BiDir/Diffserv/RTCORBA/Codeset support. The service contexts are now generated by the specific service context handlers. This way the special RTCORBA/Diffserv hooks are removed from the code, generating the service contexts is now a generic solution. In the near future we will also rework the handling of those service contexts. The generation of the BiDIR service context is now also moved out of the specific transports
Diffstat (limited to 'TAO/tao/Service_Context_Handler.h')
-rw-r--r--TAO/tao/Service_Context_Handler.h16
1 files changed, 14 insertions, 2 deletions
diff --git a/TAO/tao/Service_Context_Handler.h b/TAO/tao/Service_Context_Handler.h
index 390fbd43d57..6c6430ef7d5 100644
--- a/TAO/tao/Service_Context_Handler.h
+++ b/TAO/tao/Service_Context_Handler.h
@@ -24,6 +24,9 @@
TAO_BEGIN_VERSIONED_NAMESPACE_DECL
class TAO_Transport;
+class TAO_Operation_Details;
+class TAO_Target_Specification;
+class TAO_Stub;
/**
* This is the base of handler classes that each can process a certain
@@ -35,8 +38,17 @@ class TAO_Export TAO_Service_Context_Handler
{
public:
TAO_Service_Context_Handler (void);
- virtual int process_service_context (TAO_Transport& transport,
- const IOP::ServiceContext& context) = 0;
+ virtual int process_service_context (
+ TAO_Transport& transport,
+ const IOP::ServiceContext& context) = 0;
+
+ virtual int generate_service_context (
+ TAO_Stub *stub,
+ TAO_Transport& transport,
+ TAO_Operation_Details &opdetails,
+ TAO_Target_Specification &spec,
+ TAO_OutputCDR &msg) = 0;
+
virtual ~TAO_Service_Context_Handler (void);
};