Merge pull request #2303 from jwillemsen/jwi-803
[ACE_TAO.git] / TAO / tao / PI_Server / ServerRequestInterceptorC.h
blob46e13639fe3542dd543855ef8fe24020cb01b988
1 // -*- C++ -*-
2 // **** Code generated by the The ACE ORB (TAO) IDL Compiler ****
3 // TAO and the TAO IDL Compiler have been developed by:
4 // Center for Distributed Object Computing
5 // Washington University
6 // St. Louis, MO
7 // USA
8 // http://www.cs.wustl.edu/~schmidt/doc-center.html
9 // and
10 // Distributed Object Computing Laboratory
11 // University of California at Irvine
12 // Irvine, CA
13 // USA
14 // http://doc.ece.uci.edu/
15 // and
16 // Institute for Software Integrated Systems
17 // Vanderbilt University
18 // Nashville, TN
19 // USA
20 // http://www.isis.vanderbilt.edu/
22 // Information about TAO is available at:
23 // http://www.dre.vanderbilt.edu/~schmidt/TAO.html
25 // TAO_IDL - Generated from
26 // be\be_codegen.cpp:154
28 #ifndef _TAO_IDL_SERVERREQUESTINTERCEPTORC_H_
29 #define _TAO_IDL_SERVERREQUESTINTERCEPTORC_H_
31 #include /**/ "ace/pre.h"
34 #include "ace/config-all.h"
36 #if !defined (ACE_LACKS_PRAGMA_ONCE)
37 # pragma once
38 #endif /* ACE_LACKS_PRAGMA_ONCE */
40 #include "tao/PI_Server/pi_server_export.h"
41 #include "tao/ORB.h"
42 #include "tao/SystemException.h"
43 #include "tao/Object.h"
44 #include "tao/Objref_VarOut_T.h"
46 #define TAO_PI_SAFE_INCLUDE
47 #include "tao/PI/InterceptorC.h"
48 #include "tao/PI/PIForwardRequestC.h"
49 #undef TAO_PI_SAFE_INCLUDE
50 #include "tao/OctetSeqC.h"
52 // TAO_IDL - Generated from
53 // be\be_visitor_module/module_ch.cpp:49
55 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
57 namespace PortableInterceptor
59 // TAO_IDL - Generated from
60 // be\be_interface.cpp:646
62 #if !defined (_PORTABLEINTERCEPTOR_SERVERREQUESTINFO__VAR_OUT_CH_)
63 #define _PORTABLEINTERCEPTOR_SERVERREQUESTINFO__VAR_OUT_CH_
65 class ServerRequestInfo;
66 typedef ServerRequestInfo *ServerRequestInfo_ptr;
68 typedef
69 TAO_Objref_Var_T<
70 ServerRequestInfo
72 ServerRequestInfo_var;
74 typedef
75 TAO_Objref_Out_T<
76 ServerRequestInfo
78 ServerRequestInfo_out;
80 #endif /* end #if !defined */
82 // TAO_IDL - Generated from
83 // be\be_interface.cpp:646
85 #if !defined (_PORTABLEINTERCEPTOR_SERVERREQUESTINTERCEPTOR__VAR_OUT_CH_)
86 #define _PORTABLEINTERCEPTOR_SERVERREQUESTINTERCEPTOR__VAR_OUT_CH_
88 class ServerRequestInterceptor;
89 typedef ServerRequestInterceptor *ServerRequestInterceptor_ptr;
91 typedef
92 TAO_Objref_Var_T<
93 ServerRequestInterceptor
95 ServerRequestInterceptor_var;
97 typedef
98 TAO_Objref_Out_T<
99 ServerRequestInterceptor
101 ServerRequestInterceptor_out;
103 #endif /* end #if !defined */
105 // TAO_IDL - Generated from
106 // be\be_visitor_interface/interface_ch.cpp:54
108 #if !defined (_PORTABLEINTERCEPTOR_SERVERREQUESTINTERCEPTOR_CH_)
109 #define _PORTABLEINTERCEPTOR_SERVERREQUESTINTERCEPTOR_CH_
111 class TAO_PI_Server_Export ServerRequestInterceptor
112 : public virtual ::PortableInterceptor::Interceptor
114 public:
115 typedef ServerRequestInterceptor_ptr _ptr_type;
116 typedef ServerRequestInterceptor_var _var_type;
118 // The static operations.
119 static ServerRequestInterceptor_ptr _duplicate (ServerRequestInterceptor_ptr obj);
121 static void _tao_release (ServerRequestInterceptor_ptr obj);
123 static ServerRequestInterceptor_ptr _narrow (
124 ::CORBA::Object_ptr obj
128 static ServerRequestInterceptor_ptr _unchecked_narrow (
129 ::CORBA::Object_ptr obj
133 static ServerRequestInterceptor_ptr _nil ()
135 return static_cast<ServerRequestInterceptor_ptr> (0);
139 // TAO_IDL - Generated from
140 // be\be_visitor_operation/operation_ch.cpp:46
142 #if TAO_HAS_EXTENDED_FT_INTERCEPTORS == 1
144 virtual void tao_ft_interception_point (
145 ::PortableInterceptor::ServerRequestInfo_ptr,
146 ::CORBA::OctetSeq_out
150 #endif /* TAO_HAS_EXTENDED_FT_INTERCEPTORS */
152 // TAO_IDL - Generated from
153 // be\be_visitor_operation/operation_ch.cpp:46
155 virtual void receive_request_service_contexts (
156 ::PortableInterceptor::ServerRequestInfo_ptr ri
158 = 0;
160 // TAO_IDL - Generated from
161 // be\be_visitor_operation/operation_ch.cpp:46
163 virtual void receive_request (
164 ::PortableInterceptor::ServerRequestInfo_ptr ri
167 = 0;
169 // TAO_IDL - Generated from
170 // be\be_visitor_operation/operation_ch.cpp:46
172 virtual void send_reply (
173 ::PortableInterceptor::ServerRequestInfo_ptr ri
176 = 0;
178 // TAO_IDL - Generated from
179 // be\be_visitor_operation/operation_ch.cpp:46
181 virtual void send_exception (
182 ::PortableInterceptor::ServerRequestInfo_ptr ri
185 = 0;
187 // TAO_IDL - Generated from
188 // be\be_visitor_operation/operation_ch.cpp:46
190 virtual void send_other (
191 ::PortableInterceptor::ServerRequestInfo_ptr ri
194 = 0;
196 // TAO_IDL - Generated from
197 // be\be_visitor_interface/interface_ch.cpp:210
199 virtual ::CORBA::Boolean _is_a (
200 const char *type_id
204 virtual const char* _interface_repository_id () const;
205 virtual ::CORBA::Boolean marshal (TAO_OutputCDR &cdr);
207 protected:
208 // Abstract or local interface only.
209 ServerRequestInterceptor ();
211 virtual ~ServerRequestInterceptor ();
213 private:
214 // Private and unimplemented for concrete interfaces.
215 ServerRequestInterceptor (const ServerRequestInterceptor &);
217 void operator= (const ServerRequestInterceptor &);
220 #endif /* end #if !defined */
222 // TAO_IDL - Generated from
223 // be\be_visitor_module/module_ch.cpp:78
225 } // module PortableInterceptor
227 // TAO_IDL - Generated from
228 // be\be_visitor_traits.cpp:61
230 // Traits specializations.
231 namespace TAO
233 #if !defined (_PORTABLEINTERCEPTOR_SERVERREQUESTINFO__TRAITS_)
234 #define _PORTABLEINTERCEPTOR_SERVERREQUESTINFO__TRAITS_
236 template<>
237 struct TAO_PI_Server_Export Objref_Traits< ::PortableInterceptor::ServerRequestInfo>
239 static ::PortableInterceptor::ServerRequestInfo_ptr duplicate (
240 ::PortableInterceptor::ServerRequestInfo_ptr
242 static void release (
243 ::PortableInterceptor::ServerRequestInfo_ptr
245 static ::PortableInterceptor::ServerRequestInfo_ptr nil ();
246 static ::CORBA::Boolean marshal (
247 ::PortableInterceptor::ServerRequestInfo_ptr p,
248 TAO_OutputCDR & cdr
252 #endif /* end #if !defined */
254 #if !defined (_PORTABLEINTERCEPTOR_SERVERREQUESTINTERCEPTOR__TRAITS_)
255 #define _PORTABLEINTERCEPTOR_SERVERREQUESTINTERCEPTOR__TRAITS_
257 template<>
258 struct TAO_PI_Server_Export Objref_Traits< ::PortableInterceptor::ServerRequestInterceptor>
260 static ::PortableInterceptor::ServerRequestInterceptor_ptr duplicate (
261 ::PortableInterceptor::ServerRequestInterceptor_ptr
263 static void release (
264 ::PortableInterceptor::ServerRequestInterceptor_ptr
266 static ::PortableInterceptor::ServerRequestInterceptor_ptr nil ();
267 static ::CORBA::Boolean marshal (
268 ::PortableInterceptor::ServerRequestInterceptor_ptr p,
269 TAO_OutputCDR & cdr
273 #endif /* end #if !defined */
276 // TAO_IDL - Generated from
277 // be\be_codegen.cpp:1040
279 TAO_END_VERSIONED_NAMESPACE_DECL
281 #include /**/ "ace/post.h"
282 #endif /* ifndef */