diff options
Diffstat (limited to 'TAO/tao/RequestInterceptor_Adapter.h')
-rw-r--r-- | TAO/tao/RequestInterceptor_Adapter.h | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/TAO/tao/RequestInterceptor_Adapter.h b/TAO/tao/RequestInterceptor_Adapter.h new file mode 100644 index 00000000000..5189ab24470 --- /dev/null +++ b/TAO/tao/RequestInterceptor_Adapter.h @@ -0,0 +1,54 @@ +// -*- C++ -*- + +//============================================================================= +/** + * @file RequestInterceptor_Adapter.h + * + * $Id$ + * + */ +//============================================================================= + +#ifndef TAO_REQUEST_INTERCEPTOR_ADAPTER_H +#define TAO_REQUEST_INTERCEPTOR_ADAPTER_H + +#include /**/ "ace/pre.h" + +#include /**/ "tao/TAO_Export.h" + +#if !defined (ACE_LACKS_PRAGMA_ONCE) +# pragma once +#endif /* ACE_LACKS_PRAGMA_ONCE */ + +#include "ace/CORBA_macros.h" +#include "tao/SystemException.h" + +TAO_BEGIN_VERSIONED_NAMESPACE_DECL + +class TAO_ORB_Core; + +namespace TAO +{ + /** + * @class RequestInterceptor_Adapter + * + * @brief A base helper class to invoke registered request + * interceptors + */ + class TAO_Export RequestInterceptor_Adapter + { + public: + virtual ~RequestInterceptor_Adapter (void); + + virtual void destroy_interceptors (void) = 0; + + virtual void popTSC (TAO_ORB_Core *orb_core_) = 0; + virtual void pushTSC (TAO_ORB_Core *orb_core_) = 0; + }; +} + +TAO_END_VERSIONED_NAMESPACE_DECL + +#include /**/ "ace/post.h" + +#endif /* TAO_REQUEST_INTERCEPTOR_ADAPTER_H */ |