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 /// Client-side echo interceptor. For checking interceptor visually only.
19 class Echo_Client_Request_Interceptor
20 : public virtual PortableInterceptor::ClientRequestInterceptor
,
21 public virtual ::CORBA::LocalObject
24 Echo_Client_Request_Interceptor (int& result
);
26 // Canonical name of the interceptor.
27 char * name () override
;
29 void destroy () override
;
31 void send_poll (PortableInterceptor::ClientRequestInfo_ptr
) override
;
33 void send_request (PortableInterceptor::ClientRequestInfo_ptr ri
) override
;
35 void receive_other (PortableInterceptor::ClientRequestInfo_ptr
) override
;
37 void receive_reply (PortableInterceptor::ClientRequestInfo_ptr ri
) override
;
39 void receive_exception (PortableInterceptor::ClientRequestInfo_ptr ri
) override
;
42 ~Echo_Client_Request_Interceptor () override
= default;
52 #endif /* TAO_CLIENT_INTERCEPTOR_H */