2 #ifndef TAO_CLIENT_INTERCEPTOR_H
3 #define TAO_CLIENT_INTERCEPTOR_H
6 #include "tao/PortableInterceptorC.h"
7 #include "tao/LocalObject.h"
9 #if !defined (ACE_LACKS_PRAGMA_ONCE)
11 #endif /* ACE_LACKS_PRAGMA_ONCE */
15 #pragma warning(disable:4250)
18 class Echo_Client_Request_Interceptor
19 : public virtual PortableInterceptor::ClientRequestInterceptor
,
20 public virtual ::CORBA::LocalObject
22 // = Client-side echo interceptor. For checking interceptor visually only.
25 Echo_Client_Request_Interceptor (void);
28 virtual char * name (void);
29 // Canonical name of the interceptor.
31 virtual void destroy (void);
33 virtual void send_poll (PortableInterceptor::ClientRequestInfo_ptr
);
35 virtual void send_request (PortableInterceptor::ClientRequestInfo_ptr ri
);
37 virtual void receive_other (PortableInterceptor::ClientRequestInfo_ptr
);
39 virtual void receive_reply (PortableInterceptor::ClientRequestInfo_ptr ri
);
41 virtual void receive_exception (
42 PortableInterceptor::ClientRequestInfo_ptr ri
);
46 virtual ~Echo_Client_Request_Interceptor (void);
58 #endif /* TAO_CLIENT_INTERCEPTOR_H */