2 * @file Server_Interceptor.h
4 * @author Carlos O'Ryan <coryan@atdesk.com>
6 #ifndef Server_Interceptor__h_
7 #define Server_Interceptor__h_
9 #include "tao/PI_Server/PI_Server.h"
10 #include "tao/PortableInterceptorC.h"
11 #include "tao/LocalObject.h"
14 class Echo_Server_Request_Interceptor
15 : public virtual PortableInterceptor::ServerRequestInterceptor
16 , public virtual ::CORBA::LocalObject
19 Echo_Server_Request_Interceptor ();
21 virtual char * name ();
23 virtual void destroy ();
25 virtual void receive_request (PortableInterceptor::ServerRequestInfo_ptr ri
);
27 virtual void receive_request_service_contexts (
28 PortableInterceptor::ServerRequestInfo_ptr
);
30 virtual void send_reply (PortableInterceptor::ServerRequestInfo_ptr ri
);
32 virtual void send_exception (PortableInterceptor::ServerRequestInfo_ptr ri
);
34 virtual void send_other (PortableInterceptor::ServerRequestInfo_ptr
);
37 #endif /* Server_Interceptor__h_ */