Changes to attempt to silence bcc64x
[ACE_TAO.git] / TAO / tests / POA / Bug_1592_Regression / test_i.cpp
blobebc4ceb0c8de1d7f0b5dc3662ee47d8e191c2d4a
1 #include "test_i.h"
3 extern CORBA::Boolean receive_request_called;
5 test_i::test_i (CORBA::ORB_ptr orb)
6 : orb_ (CORBA::ORB::_duplicate (orb))
10 test_i::~test_i ()
14 void
15 test_i::op ()
17 // PortableInterceptor::ServerRequestInterceptor::receive_request()
18 // should have been invoked.
19 if (::receive_request_called == 0)
21 ACE_ERROR ((LM_ERROR,
22 "PortableInterceptor::ServerRequestInterceptor::"
23 "receive_request() not called\n"
24 "prior to target operation execution.\n"));
26 throw CORBA::INTERNAL ();
30 void
31 test_i::shutdown ()
33 this->orb_->shutdown (false);