2 * @file Client_Interceptor.h
4 * @author Carlos O'Ryan <coryan@atdesk.com>
6 #ifndef Client_Interceptor__h_
7 #define Client_Interceptor__h_
10 #include "tao/PortableInterceptorC.h"
11 #include "tao/LocalObject.h"
14 class Echo_Client_Request_Interceptor
15 : public virtual PortableInterceptor::ClientRequestInterceptor
16 , public virtual ::CORBA::LocalObject
19 Echo_Client_Request_Interceptor ();
21 static unsigned long request_count
;
22 static unsigned long reply_count
;
23 static unsigned long other_count
;
24 static unsigned long exception_count
;
26 virtual char * name ();
27 // Canonical name of the interceptor.
29 virtual void destroy ();
31 virtual void send_poll (PortableInterceptor::ClientRequestInfo_ptr
);
33 virtual void send_request (PortableInterceptor::ClientRequestInfo_ptr ri
);
35 virtual void receive_reply (PortableInterceptor::ClientRequestInfo_ptr ri
);
37 virtual void receive_other (PortableInterceptor::ClientRequestInfo_ptr
);
39 virtual void receive_exception (PortableInterceptor::ClientRequestInfo_ptr ri
);
42 #endif /* Client_Interceptor__h_ */