1 #ifndef SERVERINTERCEPTOR_H
2 #define SERVERINTERCEPTOR_H
4 #include "tao/PortableInterceptorC.h"
5 #include "tao/PI_Server/ServerRequestInterceptorA.h"
6 #include "tao/PI/ORBInitInfo.h"
8 class ServerInterceptor
9 : public PortableInterceptor::ServerRequestInterceptor
12 ServerInterceptor (IOP::CodecFactory_var
);
14 ~ServerInterceptor ();
16 virtual char * name ();
18 virtual void destroy ();
20 virtual void receive_request (PortableInterceptor::ServerRequestInfo_ptr ri
);
22 virtual void receive_request_service_contexts (
23 PortableInterceptor::ServerRequestInfo_ptr ri
);
25 virtual void send_reply (PortableInterceptor::ServerRequestInfo_ptr ri
);
27 virtual void send_exception (PortableInterceptor::ServerRequestInfo_ptr ri
);
29 virtual void send_other (PortableInterceptor::ServerRequestInfo_ptr ri
);