Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / DevGuideExamples / PortableInterceptors / Auth / ServerInterceptor.h
bloba8da1affe953a0d590bd5da8bd4c2ba9ab46e032
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 (void);
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