blob: 8a4a7f82b6ff9f5400a68b0e7f485192459a0560 (
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
|
// -*- C++ -*-
//=============================================================================
/**
* @file IORInterceptor_Adapter_Impl.h
*
* $Id$
*
* @author Jeff Parsons <parsons@cs.wustl.edu>
*/
//=============================================================================
#ifndef TAO_IORINTERCEPTOR_ADAPTER_IMPL_H
#define TAO_IORINTERCEPTOR_ADAPTER_IMPL_H
#include /**/ "ace/pre.h"
#include "IORInterceptorC.h"
#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
#include "iorinterceptor_export.h"
#include "tao/IORInterceptor_Adapter.h"
#include "ace/Service_Config.h"
#include "IORInterceptor_List.h"
class TAO_POA;
/**
* @class TAO_IORInterceptor_Adapter_Impl
*
* @brief TAO_IORInterceptor_Adapter_Impl.
*
* Class that adapts various functions involving the PortableInterceptor
* interfaces IORInfo and IORInterceptor. This is the derived class
* that contains the actual implementations.
*/
class TAO_IORInterceptor_Export TAO_IORInterceptor_Adapter_Impl
: public TAO_IORInterceptor_Adapter
{
public:
virtual ~TAO_IORInterceptor_Adapter_Impl (void);
virtual void add_interceptor (PortableInterceptor::IORInterceptor_ptr interceptor
ACE_ENV_ARG_DECL)
ACE_THROW_SPEC ((CORBA::SystemException));
virtual void destroy_interceptors (ACE_ENV_SINGLE_ARG_DECL)
ACE_THROW_SPEC (());
virtual TAO_IORInterceptor_List *interceptor_list (void)
ACE_THROW_SPEC ((CORBA::SystemException));
virtual void establish_components (TAO_POA *poa ACE_ENV_ARG_DECL)
ACE_THROW_SPEC ((CORBA::SystemException));
/// Call the IORInterceptor::components_established() method on all
/// registered IORInterceptors.
virtual void components_established (PortableInterceptor::IORInfo_ptr info
ACE_ENV_ARG_DECL)
ACE_THROW_SPEC ((CORBA::SystemException));
virtual void adapter_state_changed (
const TAO_ObjectReferenceTemplate_Array &array_obj_ref_template,
PortableInterceptor::AdapterState state
ACE_ENV_ARG_DECL)
ACE_THROW_SPEC ((CORBA::SystemException));
virtual void adapter_manager_state_changed (
PortableInterceptor::AdapterManagerId id,
PortableInterceptor::AdapterState state
ACE_ENV_ARG_DECL)
ACE_THROW_SPEC ((CORBA::SystemException));
private:
/// List of IOR interceptors maintained
TAO_IORInterceptor_List ior_interceptor_list_;
};
#include /**/ "ace/post.h"
#endif /* TAO_IORINTERCEPTOR_ADAPTER_IMPL_H */
|