=default for generated implementation copy ctor
[ACE_TAO.git] / TAO / interop-tests / CdrOutArg / tao / server_interceptor.h
blob1659c5f60714830fe769651fc09971eeb00c17a4
1 // -*- C++ -*-
2 #ifndef TAO_SERVER_INTERCEPTOR_H
3 #define TAO_SERVER_INTERCEPTOR_H
5 #include "tao/PI_Server/PI_Server.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_Server_Request_Interceptor
20 : public virtual PortableInterceptor::ServerRequestInterceptor,
21 public virtual ::CORBA::LocalObject
23 // = Server-side echo interceptor. For checking interceptor visually only.
24 public:
25 Echo_Server_Request_Interceptor ();
26 // cotr.
28 ~Echo_Server_Request_Interceptor ();
29 // dotr.
31 virtual char * name ();
32 // Canonical name of the interceptor.
34 virtual void destroy ();
36 virtual void receive_request (PortableInterceptor::ServerRequestInfo_ptr ri);
38 virtual void receive_request_service_contexts (
39 PortableInterceptor::ServerRequestInfo_ptr);
41 virtual void send_reply (PortableInterceptor::ServerRequestInfo_ptr ri);
43 virtual void send_exception (PortableInterceptor::ServerRequestInfo_ptr ri);
45 virtual void send_other (PortableInterceptor::ServerRequestInfo_ptr);
47 private:
48 const char *myname_;
51 #if defined(_MSC_VER)
52 #pragma warning(pop)
53 #endif /* _MSC_VER */
55 #endif /* TAO_SERVER_INTERCEPTOR_H */