Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / DevGuideExamples / PortableInterceptors / IOR / ServerInterceptor.h
blob6fb4f52ddbdf9749cea6da650f16c2a8eaf89bfc
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
11 public:
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);
31 private:
32 const char *myname_;
33 IOP::Codec_var codec;
36 #endif