blob: d3c150a24b6d109ea7bed1e1762ee62edd23a2ce (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
#include "Hello.h"
CORBA::Boolean
Hello::normal_context_ok_ = 0;
CORBA::Boolean
Hello::extended_context_ok_ = 0;
Hello::Hello (CORBA::ORB_ptr orb)
: orb_ (CORBA::ORB::_duplicate (orb))
{
}
void
Hello::shutdown ()
{
this->orb_->shutdown (0 );
}
void
Hello::check_normal_context ()
{
if (! normal_context_ok_)
throw Test::MyException ();
}
void
Hello::check_extended_context ()
{
if (! extended_context_ok_)
throw Test::MyException ();
}
|