2 #ifndef TAO_SERVER_INTERCEPTOR_H
3 #define TAO_SERVER_INTERCEPTOR_H
7 #include "tao/PI_Server/PI_Server.h"
8 #include "tao/PortableInterceptorC.h"
9 #include "tao/LocalObject.h"
11 #if !defined (ACE_LACKS_PRAGMA_ONCE)
13 #endif /* ACE_LACKS_PRAGMA_ONCE */
17 #pragma warning(disable:4250)
20 class Vault_Server_Request_Interceptor
21 : public virtual PortableInterceptor::ServerRequestInterceptor
,
22 public virtual ::CORBA::LocalObject
24 // = Server-side Vault interceptor. For checking interceptor visually only.
26 Vault_Server_Request_Interceptor ();
28 ~Vault_Server_Request_Interceptor ();
31 virtual char * name ();
32 // Canonical name of the interceptor.
34 virtual void destroy ();
36 virtual void receive_request (PortableInterceptor::ServerRequestInfo_ptr ri
);
38 virtual void receive_request_service_contexts (
39 PortableInterceptor::ServerRequestInfo_ptr
);
41 virtual void send_reply (PortableInterceptor::ServerRequestInfo_ptr ri
);
43 virtual void send_exception (PortableInterceptor::ServerRequestInfo_ptr ri
);
45 virtual void send_other (PortableInterceptor::ServerRequestInfo_ptr
);
51 class Vault_Server_Request_Context_Interceptor
52 : public virtual PortableInterceptor::ServerRequestInterceptor
,
53 public virtual ::CORBA::LocalObject
55 // = Server-side Vault interceptor. For checking interceptor visually only.
57 Vault_Server_Request_Context_Interceptor ();
59 ~Vault_Server_Request_Context_Interceptor ();
62 virtual char * name ();
63 // Canonical name of the interceptor.
65 virtual void destroy ();
67 virtual void receive_request (PortableInterceptor::ServerRequestInfo_ptr ri
);
69 virtual void receive_request_service_contexts (
70 PortableInterceptor::ServerRequestInfo_ptr
);
72 virtual void send_reply (PortableInterceptor::ServerRequestInfo_ptr ri
);
74 virtual void send_exception (PortableInterceptor::ServerRequestInfo_ptr ri
);
76 virtual void send_other (PortableInterceptor::ServerRequestInfo_ptr
);
82 class Vault_Server_Request_Dynamic_Interceptor
83 : public virtual PortableInterceptor::ServerRequestInterceptor
,
84 public virtual ::CORBA::LocalObject
86 // = Server-side Vault interceptor. For checking interceptor visually only.
88 Vault_Server_Request_Dynamic_Interceptor ();
90 ~Vault_Server_Request_Dynamic_Interceptor ();
93 virtual char * name ();
94 // Canonical name of the interceptor.
96 virtual void destroy ();
98 virtual void receive_request (PortableInterceptor::ServerRequestInfo_ptr ri
);
100 virtual void receive_request_service_contexts (
101 PortableInterceptor::ServerRequestInfo_ptr
);
103 virtual void send_reply (PortableInterceptor::ServerRequestInfo_ptr ri
);
105 virtual void send_exception (PortableInterceptor::ServerRequestInfo_ptr ri
);
107 virtual void send_other (PortableInterceptor::ServerRequestInfo_ptr
);
113 class Vault_Server_Request_NOOP_Interceptor
114 : public virtual PortableInterceptor::ServerRequestInterceptor
,
115 public virtual ::CORBA::LocalObject
117 // = Server-side Vault interceptor. For checking interceptor visually only.
119 Vault_Server_Request_NOOP_Interceptor ();
121 ~Vault_Server_Request_NOOP_Interceptor ();
124 virtual char * name ();
125 // Canonical name of the interceptor.
127 virtual void destroy ();
129 virtual void receive_request (PortableInterceptor::ServerRequestInfo_ptr ri
);
131 virtual void receive_request_service_contexts (
132 PortableInterceptor::ServerRequestInfo_ptr
);
134 virtual void send_reply (PortableInterceptor::ServerRequestInfo_ptr ri
);
136 virtual void send_exception (PortableInterceptor::ServerRequestInfo_ptr ri
);
138 virtual void send_other (PortableInterceptor::ServerRequestInfo_ptr
);
144 #if defined(_MSC_VER)
146 #endif /* _MSC_VER */
148 #endif /* TAO_SERVER_INTERCEPTOR_H */