=default for generated implementation copy ctor
[ACE_TAO.git] / TAO / tests / Bug_3853_Regression / client_interceptor.h
blob7d74e98ed290033e63bf1c02073681491fe9e239
1 // -*- C++ -*-
2 #ifndef TAO_CLIENT_INTERCEPTOR_H
3 #define TAO_CLIENT_INTERCEPTOR_H
5 #include "tao/PI/PI.h"
6 #include "tao/PortableInterceptorC.h"
7 #include "tao/LocalObject.h"
8 #include "tao/ORB.h"
10 #if !defined (ACE_LACKS_PRAGMA_ONCE)
11 # pragma once
12 #endif /* ACE_LACKS_PRAGMA_ONCE */
14 #if defined(_MSC_VER)
15 #pragma warning(push)
16 #pragma warning(disable:4250)
17 #endif /* _MSC_VER */
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.
24 public:
25 Echo_Client_Request_Interceptor ();
26 // ctor.
28 virtual ~Echo_Client_Request_Interceptor () = default;
29 // dtor.
31 virtual char * name ();
32 // Canonical name of the interceptor.
34 virtual void destroy ();
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);
44 virtual void receive_exception (PortableInterceptor::ClientRequestInfo_ptr ri);
46 private:
47 const char *myname_;
50 #if defined(_MSC_VER)
51 #pragma warning(pop)
52 #endif /* _MSC_VER */
54 #endif /* TAO_CLIENT_INTERCEPTOR_H */