Merge pull request #2222 from jwillemsen/jwi-dllexportwarning
[ACE_TAO.git] / TAO / tests / Bug_3598a_Regression / ClientRequest_Interceptor.cpp
blob2a7e8712c25e5a1c9bd82d7a720f4ba41564d382
1 #include "ClientRequest_Interceptor.h"
3 #include "tao/CORBA_String.h"
4 #include "tao/debug.h"
5 #include "ace/Log_Msg.h"
7 CORBA::Boolean
8 ClientRequest_Interceptor::success_flag_ = 0;
10 ClientRequest_Interceptor::ClientRequest_Interceptor ()
11 : name_ ("ClientRequest_Interceptor")
15 ClientRequest_Interceptor::~ClientRequest_Interceptor ()
19 char *
20 ClientRequest_Interceptor::name ()
22 return CORBA::string_dup (this->name_);
25 void
26 ClientRequest_Interceptor::destroy ()
28 // No-op
31 void
32 ClientRequest_Interceptor::send_poll (
33 PortableInterceptor::ClientRequestInfo_ptr ri
36 // Print debug
37 CORBA::String_var op =
38 ri->operation ();
40 ACE_DEBUG ((LM_DEBUG,
41 "TAO_FT (%P|%t): ClientRequest_Interceptor::send_poll called for operation: %C\n",
42 op.in ()));
45 void
46 ClientRequest_Interceptor::send_request (
47 PortableInterceptor::ClientRequestInfo_ptr ri)
49 // Print debug
50 CORBA::String_var op =
51 ri->operation ();
53 ACE_DEBUG ((LM_DEBUG,
54 "ClientRequest_Interceptor::send_request called for operation: %C - things are going well...\n",
55 op.in ()));
58 void
59 ClientRequest_Interceptor::receive_reply (
60 PortableInterceptor::ClientRequestInfo_ptr)
62 // No-op
65 void
66 ClientRequest_Interceptor::receive_other (
67 PortableInterceptor::ClientRequestInfo_ptr)
69 // No-op
72 void
73 ClientRequest_Interceptor::receive_exception (
74 PortableInterceptor::ClientRequestInfo_ptr ri)
76 // Print debug
77 CORBA::String_var op =
78 ri->operation ();
80 ACE_DEBUG ((LM_DEBUG,
81 "ClientRequest_Interceptor::receive_exception called for operation: %C - test has succeeded...\n",
82 op.in ()));
83 success_flag_ = 1;