summaryrefslogtreecommitdiff
path: root/TAO/tao/RequestInterceptor_Adapter.h
blob: f17bc50fe19d824daba78e10352cb45f77950f75 (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
// -*- C++ -*-

//=============================================================================
/**
 *  @file    RequestInterceptor_Adapter.h
 *
 */
//=============================================================================

#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 */