2 #ifndef TAO_SERVER_INTERCEPTOR_H
3 #define TAO_SERVER_INTERCEPTOR_H
5 #include <omg/PortableInterceptor.hh>
7 class Echo_Server_Request_Interceptor
8 : public virtual PortableInterceptor::ServerRequestInterceptor
,
9 public virtual ::CORBA::LocalObject
11 // = Server-side echo interceptor. For checking interceptor visually only.
13 Echo_Server_Request_Interceptor ();
16 ~Echo_Server_Request_Interceptor ();
19 virtual char * name ();
20 // Canonical name of the interceptor.
22 virtual void destroy ();
24 virtual void receive_request (PortableInterceptor::ServerRequestInfo_ptr ri
);
26 virtual void receive_request_service_contexts (
27 PortableInterceptor::ServerRequestInfo_ptr
);
29 virtual void send_reply (PortableInterceptor::ServerRequestInfo_ptr ri
);
31 virtual void send_exception (PortableInterceptor::ServerRequestInfo_ptr ri
);
33 virtual void send_other (PortableInterceptor::ServerRequestInfo_ptr
);
39 #endif /* TAO_SERVER_INTERCEPTOR_H */