00001 // -*- C++ -*- 00002 00003 //============================================================================= 00004 /** 00005 * @file RequestInterceptor_Adapter.h 00006 * 00007 * $Id: RequestInterceptor_Adapter.h 85371 2009-05-18 13:39:38Z sma $ 00008 * 00009 */ 00010 //============================================================================= 00011 00012 #ifndef TAO_REQUEST_INTERCEPTOR_ADAPTER_H 00013 #define TAO_REQUEST_INTERCEPTOR_ADAPTER_H 00014 00015 #include /**/ "ace/pre.h" 00016 00017 #include /**/ "tao/TAO_Export.h" 00018 00019 #if !defined (ACE_LACKS_PRAGMA_ONCE) 00020 # pragma once 00021 #endif /* ACE_LACKS_PRAGMA_ONCE */ 00022 00023 #include "ace/CORBA_macros.h" 00024 #include "tao/SystemException.h" 00025 00026 TAO_BEGIN_VERSIONED_NAMESPACE_DECL 00027 00028 class TAO_ORB_Core; 00029 00030 namespace TAO 00031 { 00032 /** 00033 * @class RequestInterceptor_Adapter 00034 * 00035 * @brief A base helper class to invoke registered request 00036 * interceptors 00037 */ 00038 class TAO_Export RequestInterceptor_Adapter 00039 { 00040 public: 00041 virtual ~RequestInterceptor_Adapter (void); 00042 00043 virtual void destroy_interceptors (void) = 0; 00044 00045 virtual void popTSC (TAO_ORB_Core *orb_core_) = 0; 00046 virtual void pushTSC (TAO_ORB_Core *orb_core_) = 0; 00047 }; 00048 } 00049 00050 TAO_END_VERSIONED_NAMESPACE_DECL 00051 00052 #include /**/ "ace/post.h" 00053 00054 #endif /* TAO_REQUEST_INTERCEPTOR_ADAPTER_H */