3 //=============================================================================
4 //=============================================================================
6 #ifndef TAO249_SERVER_REQUEST_INTERCEPTOR2_H
7 #define TAO249_SERVER_REQUEST_INTERCEPTOR2_H
9 #include "ace/config-all.h"
11 #if !defined (ACE_LACKS_PRAGMA_ONCE)
13 #endif /* ACE_LACKS_PRAGMA_ONCE */
14 #include "tao/LocalObject.h"
15 #include "tao/PortableInterceptorC.h"
17 #include "tao/PI/PI.h"
18 #include "tao/PI_Server/PI_Server.h"
20 class ServerRequest_Interceptor2
21 : public virtual PortableInterceptor::ServerRequestInterceptor
,
22 public virtual ::CORBA::LocalObject
27 ServerRequest_Interceptor2 (void);
30 ~ServerRequest_Interceptor2 (void);
33 * @name Methods Required by the Server Request Interceptor
36 * These are methods that must be implemented since they are pure
37 * virtual in the abstract base class. They are the canonical
38 * methods required for all server request interceptors.
41 /// Return the name of this ServerRequestinterceptor.
42 virtual char * name (void);
44 virtual void destroy (void);
46 virtual void receive_request_service_contexts (
47 PortableInterceptor::ServerRequestInfo_ptr ri
);
49 virtual void receive_request (
50 PortableInterceptor::ServerRequestInfo_ptr ri
);
52 virtual void send_reply (
53 PortableInterceptor::ServerRequestInfo_ptr ri
);
55 virtual void send_exception (
56 PortableInterceptor::ServerRequestInfo_ptr ri
);
58 virtual void send_other (
59 PortableInterceptor::ServerRequestInfo_ptr ri
);
62 static CORBA::Boolean has_ft_request_sc_
;
69 #endif /* TAO249_SERVER_REQUEST_INTERCEPTOR2_H */