2 //=============================================================================
4 * @file ClientRequest_Interceptor.h
6 //=============================================================================
7 #ifndef CLIENTREQUEST_INTERCEPTOR_H
8 #define CLIENTREQUEST_INTERCEPTOR_H
9 #include /**/ "ace/pre.h"
11 #include "tao/PI/PI.h"
12 #include "tao/PortableInterceptorC.h"
13 #include "tao/LocalObject.h"
15 // This is to remove "inherits via dominance" warnings from MSVC.
16 // MSVC is being a little too paranoid.
19 #pragma warning(disable:4250)
23 * @class ClientRequest_Interceptor
26 class ClientRequest_Interceptor
27 : public virtual PortableInterceptor::ClientRequestInterceptor
,
28 public virtual ::CORBA::LocalObject
31 ClientRequest_Interceptor ();
33 ~ClientRequest_Interceptor ();
35 /// Canonical name of the interceptor.
36 virtual char * name ();
39 virtual void destroy ();
41 virtual void send_poll (PortableInterceptor::ClientRequestInfo_ptr
);
43 virtual void send_request (PortableInterceptor::ClientRequestInfo_ptr ri
);
45 virtual void receive_reply (PortableInterceptor::ClientRequestInfo_ptr ri
);
47 virtual void receive_other (PortableInterceptor::ClientRequestInfo_ptr ri
);
49 virtual void receive_exception (PortableInterceptor::ClientRequestInfo_ptr ri
);
51 static CORBA::Boolean success_flag_
;
54 /// Name of the interceptor
61 #include /**/ "ace/post.h"
62 #endif /*CLIENTREQUEST_INTERCEPTOR_H*/