Merge pull request #2222 from jwillemsen/jwi-dllexportwarning
[ACE_TAO.git] / TAO / tests / Portable_Interceptors / AMI / Client_Interceptor.h
blob423d2b4c3c588b2ecdb7fad05cc6220bda743f4a
1 /**
2 * @file Client_Interceptor.h
4 * @author Carlos O'Ryan <coryan@atdesk.com>
5 */
6 #ifndef Client_Interceptor__h_
7 #define Client_Interceptor__h_
9 #include "tao/PI/PI.h"
10 #include "tao/PortableInterceptorC.h"
11 #include "tao/LocalObject.h"
12 #include "tao/ORB.h"
14 class Echo_Client_Request_Interceptor
15 : public virtual PortableInterceptor::ClientRequestInterceptor
16 , public virtual ::CORBA::LocalObject
18 public:
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_ */