Merge pull request #2303 from jwillemsen/jwi-803
[ACE_TAO.git] / TAO / DevGuideExamples / PortableInterceptors / PICurrent / ServerInterceptor.h
blob3e8e46e14a901440ee619daef1438662a25100f3
1 #ifndef SERVERINTERCEPTOR_H
2 #define SERVERINTERCEPTOR_H
4 #include "tao/PortableInterceptorC.h"
5 #include "tao/PI_Server/ServerRequestInterceptorA.h"
7 class ServerInterceptor
8 : public PortableInterceptor::ServerRequestInterceptor
10 public:
11 ServerInterceptor ();
13 ~ServerInterceptor ();
15 virtual char * name ();
17 virtual void destroy ();
19 virtual void receive_request (PortableInterceptor::ServerRequestInfo_ptr ri);
21 virtual void receive_request_service_contexts (
22 PortableInterceptor::ServerRequestInfo_ptr ri);
24 virtual void send_reply (PortableInterceptor::ServerRequestInfo_ptr ri);
26 virtual void send_exception (PortableInterceptor::ServerRequestInfo_ptr ri);
28 virtual void send_other (PortableInterceptor::ServerRequestInfo_ptr ri);
30 private:
31 const char *myname_;
34 #endif