Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / interop-tests / CdrOutArg / orbix / server_interceptor.h
blob019e421002639738fd840345a799506ab42af76f
1 // -*- C++ -*-
2 #ifndef TAO_SERVER_INTERCEPTOR_H
3 #define TAO_SERVER_INTERCEPTOR_H
5 #include <omg/PortableInterceptor.hh>
7 class Echo_Server_Request_Interceptor
8 : public virtual PortableInterceptor::ServerRequestInterceptor,
9 public virtual ::CORBA::LocalObject
11 // = Server-side echo interceptor. For checking interceptor visually only.
12 public:
13 Echo_Server_Request_Interceptor (void);
14 // cotr.
16 ~Echo_Server_Request_Interceptor ();
17 // dotr.
19 virtual char * name (void);
20 // Canonical name of the interceptor.
22 virtual void destroy (void);
24 virtual void receive_request (PortableInterceptor::ServerRequestInfo_ptr ri);
26 virtual void receive_request_service_contexts (
27 PortableInterceptor::ServerRequestInfo_ptr);
29 virtual void send_reply (PortableInterceptor::ServerRequestInfo_ptr ri);
31 virtual void send_exception (PortableInterceptor::ServerRequestInfo_ptr ri);
33 virtual void send_other (PortableInterceptor::ServerRequestInfo_ptr);
35 private:
36 const char *myname_;
39 #endif /* TAO_SERVER_INTERCEPTOR_H */