2 #ifndef TAO_SERVER_INTERCEPTOR_H
3 #define TAO_SERVER_INTERCEPTOR_H
5 #include "tao/PI_Server/PI_Server.h"
6 #include "tao/PortableInterceptorC.h"
7 #include "tao/LocalObject.h"
10 #if !defined (ACE_LACKS_PRAGMA_ONCE)
12 #endif /* ACE_LACKS_PRAGMA_ONCE */
16 #pragma warning(disable:4250)
19 class Echo_Server_Request_Interceptor
20 : public virtual PortableInterceptor::ServerRequestInterceptor
,
21 public virtual ::CORBA::LocalObject
23 // = Server-side echo interceptor. For checking interceptor visually only.
25 Echo_Server_Request_Interceptor ();
28 ~Echo_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
);
55 #endif /* TAO_SERVER_INTERCEPTOR_H */