3 //=============================================================================
5 * @file SUpcall_commands.h
7 * @author Marcel Smit <msmit@remedy.nl>
9 * @brief Upcall command exection classes for static skeleton methods
11 * This file contains the classes needed to perform an upcall command for
12 * the following static methods, defined in Servant_Base.h
14 * - _non_existent_skel
16 * - _repository_id_skel
19 //=============================================================================
21 #ifndef TAO_SUPCALL_COMMANDS_H
22 #define TAO_SUPCALL_COMMANDS_H
24 #include /**/ "ace/pre.h"
26 #include "tao/PortableServer/Upcall_Command.h"
28 #if !defined (ACE_LACKS_PRAGMA_ONCE)
30 #endif /* ACE_LACKS_PRAGMA_ONCE */
32 #include "tao/PortableServer/Upcall_Wrapper.h"
33 #include "tao/operation_details.h"
35 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
38 * @class _is_a_thru_poa_Upcall_Command
40 * @brief Execution class for _is_a_skel.
42 class _is_a_thru_poa_Upcall_Command
43 : public TAO::Upcall_Command
46 inline _is_a_thru_poa_Upcall_Command (
47 TAO_ServantBase
* servant
,
48 TAO_Operation_Details
const * operation_details
,
49 TAO::Argument
* const args
[])
51 , operation_details_ (operation_details
)
55 virtual void execute ();
58 TAO_ServantBase
* const servant_
;
59 TAO_Operation_Details
const * const operation_details_
;
60 TAO::Argument
* const * const args_
;
64 * @class _is_a_Upcall_Command
66 * @brief Execution class for _is_a_skel when through POA option is used.
68 class _is_a_Upcall_Command
69 : public TAO::Upcall_Command
72 inline _is_a_Upcall_Command (
73 TAO_ServantBase
* servant
,
74 TAO::Argument
* const args
[])
80 virtual void execute ();
83 TAO_ServantBase
* const servant_
;
84 TAO::Argument
* const * const args_
;
89 * @class _non_existent_thru_poa_Upcall_Command
91 * @brief Execution class for _non_existent_skel.
93 #if (TAO_HAS_MINIMUM_CORBA == 0)
94 class _non_existent_thru_poa_Upcall_Command
95 : public TAO::Upcall_Command
98 inline _non_existent_thru_poa_Upcall_Command (
99 TAO_ServantBase
* servant
,
100 TAO_Operation_Details
const * operation_details
,
101 TAO::Argument
* const args
[])
103 , operation_details_ (operation_details
)
108 virtual void execute ();
110 TAO_ServantBase
* const servant_
;
111 TAO_Operation_Details
const * const operation_details_
;
112 TAO::Argument
* const * const args_
;
116 * @class _non_existent_Upcall_Command
118 * @brief Execution class for _non_existent_skel when through POA option is used.
120 class _non_existent_Upcall_Command
121 : public TAO::Upcall_Command
124 inline _non_existent_Upcall_Command (
125 TAO_ServantBase
* servant
,
126 TAO::Argument
* const args
[])
132 virtual void execute ();
135 TAO_ServantBase
* const servant_
;
136 TAO::Argument
* const * const args_
;
140 # if !defined (CORBA_E_COMPACT) && !defined (CORBA_E_MICRO)
142 * @class _get_component_thru_poa_Upcall_Command
144 * @brief Execution class for _component_skel.
146 class _get_component_thru_poa_Upcall_Command
147 : public TAO::Upcall_Command
150 inline _get_component_thru_poa_Upcall_Command (
151 TAO_ServantBase
* servant
,
152 TAO_Operation_Details
const * operation_details
,
153 TAO::Argument
* const args
[])
155 , operation_details_ (operation_details
)
160 virtual void execute ();
163 TAO_ServantBase
* const servant_
;
164 TAO_Operation_Details
const * const operation_details_
;
165 TAO::Argument
* const * const args_
;
169 * @class _get_component_Upcall_Command
171 * @brief Execution class for _get_component when through POA option is used.
173 class _get_component_Upcall_Command
174 : public TAO::Upcall_Command
177 inline _get_component_Upcall_Command (
178 TAO_ServantBase
* servant
,
179 TAO::Argument
* const args
[])
185 virtual void execute ();
188 TAO_ServantBase
* const servant_
;
189 TAO::Argument
* const * const args_
;
191 # endif /* !defined (CORBA_E_COMPACT) && !defined (CORBA_E_MICRO) */
194 * @class _repository_id_thru_poa_Upcall_Command
196 * @brief Execution class for _repository_id_skel
198 class _repository_id_thru_poa_Upcall_Command
199 : public TAO::Upcall_Command
202 inline _repository_id_thru_poa_Upcall_Command (
203 TAO_ServantBase
* servant
,
204 TAO_Operation_Details
const * operation_details
,
205 TAO::Argument
* const args
[])
207 , operation_details_ (operation_details
)
212 virtual void execute ();
215 TAO_ServantBase
* const servant_
;
216 TAO_Operation_Details
const * const operation_details_
;
217 TAO::Argument
* const * const args_
;
221 * @class _repository_id_Upcall_Command
223 * @brief Execution class for _repository_id when through POA option is used.
225 class _repository_id_Upcall_Command
226 : public TAO::Upcall_Command
229 inline _repository_id_Upcall_Command (
230 TAO_ServantBase
* servant
,
231 TAO::Argument
* const args
[])
237 virtual void execute ();
240 TAO_ServantBase
* const servant_
;
241 TAO::Argument
* const * const args_
;
244 #endif /* TAO_HAS_MINIMUM_CORBA */
246 TAO_END_VERSIONED_NAMESPACE_DECL
248 #include /**/ "ace/post.h"
250 #endif /* TAO_SUPCALL_COMMANDS_H */