2 #ifndef TAO_CLIENT_INTERCEPTOR_H
3 #define TAO_CLIENT_INTERCEPTOR_H
6 #include "tao/PortableInterceptorC.h"
7 #include "tao/LocalObject.h"
10 #if !defined (ACE_LACKS_PRAGMA_ONCE)
12 #endif /* ACE_LACKS_PRAGMA_ONCE */
16 #pragma warning(disable:4250)
19 class Echo_Client_Request_Interceptor
20 : public virtual PortableInterceptor::ClientRequestInterceptor
,
21 public virtual ::CORBA::LocalObject
23 // = Client-side echo interceptor. For checking interceptor visually only.
25 Echo_Client_Request_Interceptor (const char *orb_id
);
28 virtual ~Echo_Client_Request_Interceptor ();
31 virtual char * name (void);
32 // Canonical name of the interceptor.
34 virtual void destroy (void);
36 virtual void send_poll (PortableInterceptor::ClientRequestInfo_ptr
);
38 virtual void send_request (PortableInterceptor::ClientRequestInfo_ptr ri
);
40 virtual void receive_reply (PortableInterceptor::ClientRequestInfo_ptr ri
);
42 virtual void receive_other (PortableInterceptor::ClientRequestInfo_ptr ri
);
44 virtual void receive_exception (PortableInterceptor::ClientRequestInfo_ptr ri
);
49 CORBA::String_var orb_id_
;
50 // The ID of the ORB where this interceptor was created, usually
51 // obtained from the ORBInitInfo
58 #endif /* TAO_CLIENT_INTERCEPTOR_H */