Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / DevGuideExamples / PortableInterceptors / IOR / ClientInterceptor.h
blobfb5cb92645576a58427acd9ac18c058927e8bb75
1 #ifndef CLIENTINTERCEPTOR_H
2 #define CLIENTINTERCEPTOR_H
4 #include "tao/PortableInterceptorC.h"
5 #include "tao/LocalObject.h"
6 #include "tao/PI/ClientRequestInterceptorA.h"
7 #include "tao/PI/ORBInitInfo.h"
9 class ClientInterceptor:
10 public virtual PortableInterceptor::ClientRequestInterceptor,
11 public virtual ::CORBA::LocalObject
14 public:
15 ClientInterceptor (IOP::CodecFactory_var) ;
17 virtual ~ClientInterceptor ();
19 virtual char * name ();
21 virtual void destroy ();
23 virtual void send_poll (PortableInterceptor::ClientRequestInfo_ptr ri);
25 virtual void send_request (PortableInterceptor::ClientRequestInfo_ptr ri);
27 virtual void receive_reply (PortableInterceptor::ClientRequestInfo_ptr ri);
29 virtual void receive_other (PortableInterceptor::ClientRequestInfo_ptr ri);
31 virtual void receive_exception (PortableInterceptor::ClientRequestInfo_ptr ri);
33 private:
34 const char *myname_;
35 IOP::Codec_var codec;
38 #endif