00001 // -*- C++ -*- 00002 00003 // =================================================================== 00004 /** 00005 * @file DiffServ_Service_Context_Handler.h 00006 * 00007 * $Id: DiffServ_Service_Context_Handler.h 84860 2009-03-17 10:17:38Z johnnyw $ 00008 * 00009 * @author Johnny Willemsen <jwillemsen@remedy.nl> 00010 */ 00011 // =================================================================== 00012 00013 #ifndef TAO_DIFFSERV_SERVICE_CONTEXT_HANDLER_H 00014 #define TAO_DIFFSERV_SERVICE_CONTEXT_HANDLER_H 00015 #include /**/ "ace/pre.h" 00016 #include "tao/DiffServPolicy/DiffServPolicy_Export.h" 00017 00018 #if !defined (ACE_LACKS_PRAGMA_ONCE) 00019 # pragma once 00020 #endif /* ACE_LACKS_PRAGMA_ONCE */ 00021 00022 #include "tao/Service_Context_Handler.h" 00023 00024 TAO_BEGIN_VERSIONED_NAMESPACE_DECL 00025 00026 class TAO_DiffServ_Service_Context_Handler : 00027 public TAO_Service_Context_Handler 00028 { 00029 public: 00030 virtual int process_service_context (TAO_Transport& transport, 00031 const IOP::ServiceContext& context); 00032 virtual int generate_service_context ( 00033 TAO_Stub *stub, 00034 TAO_Transport &transport, 00035 TAO_Operation_Details &opdetails, 00036 TAO_Target_Specification &spec, 00037 TAO_OutputCDR &msg); 00038 }; 00039 00040 TAO_END_VERSIONED_NAMESPACE_DECL 00041 00042 #include /**/ "ace/post.h" 00043 #endif /* TAO_DIFFSERV_SERVICE_CONTEXT_HANDLER_H */