00001 // -*- C++ -*- 00002 00003 // =================================================================== 00004 /** 00005 * @file ZIOP_Service_Context_Handler.h 00006 * 00007 * $Id: ZIOP_Service_Context_Handler.h 84919 2009-03-20 10:00:34Z johnnyw $ 00008 * 00009 * @author Johnny Willemsen <jwillemsen@remedy.nl> 00010 */ 00011 // =================================================================== 00012 00013 #ifndef TAO_ZIOP_SERVICE_CONTEXT_HANDLER_H 00014 #define TAO_ZIOP_SERVICE_CONTEXT_HANDLER_H 00015 #include /**/ "ace/pre.h" 00016 #include "tao/ZIOP/ziop_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 #if defined (TAO_HAS_CORBA_MESSAGING) && TAO_HAS_CORBA_MESSAGING != 0 00025 00026 TAO_BEGIN_VERSIONED_NAMESPACE_DECL 00027 00028 class TAO_ZIOP_Service_Context_Handler : 00029 public TAO_Service_Context_Handler 00030 { 00031 public: 00032 virtual int process_service_context (TAO_Transport& transport, 00033 const IOP::ServiceContext& context); 00034 virtual int generate_service_context ( 00035 TAO_Stub *stub, 00036 TAO_Transport &transport, 00037 TAO_Operation_Details &opdetails, 00038 TAO_Target_Specification &spec, 00039 TAO_OutputCDR &msg); 00040 }; 00041 00042 TAO_END_VERSIONED_NAMESPACE_DECL 00043 00044 #endif 00045 00046 #include /**/ "ace/post.h" 00047 #endif /* TAO_ZIOP_SERVICE_CONTEXT_HANDLER_H */