Merge pull request #2309 from mitza-oci/warnings
[ACE_TAO.git] / TAO / DevGuideExamples / PortableInterceptors / SimpleCodec / ClientInterceptor.h
blob6c711ac4024515be87bc184ba1dc25eb1d464982
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
13 public:
14 ClientInterceptor (IOP::CodecFactory_var) ;
16 virtual ~ClientInterceptor ();
18 virtual char * name ();
20 virtual void destroy ();
22 virtual void send_poll (PortableInterceptor::ClientRequestInfo_ptr ri);
24 virtual void send_request (PortableInterceptor::ClientRequestInfo_ptr ri);
26 virtual void receive_reply (PortableInterceptor::ClientRequestInfo_ptr ri);
28 virtual void receive_other (PortableInterceptor::ClientRequestInfo_ptr ri);
30 virtual void receive_exception (PortableInterceptor::ClientRequestInfo_ptr ri);
32 private:
33 const char *myname_;
34 IOP::Codec_var codec;
37 #endif