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
32 ClientRequest_Interceptor (void);
34 ~ClientRequest_Interceptor (void);
36 /// Canonical name of the interceptor.
37 virtual char * name ();
40 virtual void destroy ();
42 virtual void send_poll (PortableInterceptor::ClientRequestInfo_ptr
);
44 virtual void send_request (PortableInterceptor::ClientRequestInfo_ptr ri
);
46 virtual void receive_reply (PortableInterceptor::ClientRequestInfo_ptr ri
);
48 virtual void receive_other (PortableInterceptor::ClientRequestInfo_ptr ri
);
50 virtual void receive_exception (PortableInterceptor::ClientRequestInfo_ptr ri
);
52 static CORBA::Boolean success_flag_
;
56 /// Name of the interceptor
64 #include /**/ "ace/post.h"
65 #endif /*CLIENTREQUEST_INTERCEPTOR_H*/