Use =default for skeleton copy constructor
[ACE_TAO.git] / TAO / tao / Codeset / Codeset_Service_Context_Handler.cpp
blob663da891eeab44a6b511b4da5d3d8fb9b4c94c3b
1 // -*- C++ -*-
2 #include "tao/Codeset/Codeset_Service_Context_Handler.h"
4 #include "tao/CDR.h"
5 #include "tao/Transport.h"
6 #include "tao/ORB_Core.h"
7 #include "tao/operation_details.h"
8 #include "tao/Codeset_Manager.h"
10 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
12 int
13 TAO_Codeset_Service_Context_Handler::process_service_context (
14 TAO_Transport&,
15 const IOP::ServiceContext&,
16 TAO_ServerRequest*)
18 return 0;
21 int
22 TAO_Codeset_Service_Context_Handler::generate_service_context (
23 TAO_Stub *,
24 TAO_Transport& transport,
25 TAO_Operation_Details &opdetails,
26 TAO_Target_Specification &,
27 TAO_OutputCDR &)
29 if (transport.first_request ())
31 TAO_Codeset_Manager * const csm = transport.orb_core ()->codeset_manager ();
32 if (csm)
34 csm->generate_service_context (opdetails, transport);
38 return 0;
41 TAO_END_VERSIONED_NAMESPACE_DECL