summaryrefslogtreecommitdiff
path: root/TAO/tao/PI/RequestInterceptor_Adapter_Impl.h
blob: a3ff67558eff438ee648203348dadd56c4fa9679 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
// -*- C++ -*-

//=============================================================================
/**
 *  @file    RequestInterceptor_Adapter_Impl.h
 */
//=============================================================================

#ifndef TAO_REQUEST_INTERCEPTOR_ADAPTER_IMPL_H
#define TAO_REQUEST_INTERCEPTOR_ADAPTER_IMPL_H

#include /**/ "ace/pre.h"

#include "tao/orbconf.h"

#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */

#if TAO_HAS_INTERCEPTORS == 1

#include "tao/PI/pi_export.h"
#include "tao/PI/Interceptor_List_T.h"
#include "tao/PI/ClientRequestInterceptorC.h"
#include "tao/PI/ClientRequestDetails.h"
#include "tao/RequestInterceptor_Adapter.h"

TAO_BEGIN_VERSIONED_NAMESPACE_DECL

class Invocation_Base;

/**
 * @class TAO_RequestInterceptor_Adapter_Impl
 *
 * @brief A convenient helper class to invoke registered client request
 *        interceptors
 *
 * This class invokes all registered interceptors at interception
 * point, and enforces flow rules dictated by the Portable Interceptor
 * specification/chapter.
 */
class TAO_PI_Export TAO_RequestInterceptor_Adapter_Impl
  : public TAO::RequestInterceptor_Adapter
{
public:
  ~TAO_RequestInterceptor_Adapter_Impl (void);

  void popTSC (TAO_ORB_Core *orb_core);
  void pushTSC (TAO_ORB_Core *orb_core);
};

TAO_END_VERSIONED_NAMESPACE_DECL

#endif  /* TAO_HAS_INTERCEPTORS == 1 */

#include /**/ "ace/post.h"

#endif /* TAO_REQUEST_INTERCEPTOR_ADAPTER_IMPL_H */