Merge pull request #2301 from sonndinh/remove-dup-reactor-functions
[ACE_TAO.git] / TAO / orbsvcs / tests / Bug_3216_Regression / Hello.cpp
blob1a59d8c484a33720ed67cb510fab8730a1d5b903
1 #include "Hello.h"
4 CORBA::Boolean
5 Hello::normal_context_ok_ = 0;
7 CORBA::Boolean
8 Hello::extended_context_ok_ = 0;
10 Hello::Hello (CORBA::ORB_ptr orb)
11 : orb_ (CORBA::ORB::_duplicate (orb))
15 void
16 Hello::shutdown ()
18 this->orb_->shutdown (0);
21 void
22 Hello::check_normal_context ()
24 if (! normal_context_ok_)
25 throw Test::MyException ();
28 void
29 Hello::check_extended_context ()
31 if (! extended_context_ok_)
32 throw Test::MyException ();