blob: ceba9209f37e6b2c95f6bb9ec4fc55e800e5e2da (
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
34
35
36
37
|
// -*- C++ -*-
#include "Test_i.h"
ACE_RCSID (DLL_ORB,
Test_i,
"$Id$")
Test_i::Test_i (void)
: orb_ ()
{
}
void
Test_i::invoke_me (CORBA::Environment & /* ACE_TRY_ENV */)
ACE_THROW_SPEC ((CORBA::SystemException))
{
ACE_DEBUG ((LM_INFO,
"(%P|%t) Test method invoked.\n"));
}
void
Test_i::shutdown (CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
ACE_DEBUG ((LM_INFO,
"Server is shutting down.\n"));
if (!CORBA::is_nil (this->orb_.in ()))
this->orb_->shutdown (1, ACE_TRY_ENV);
}
void
Test_i::orb (CORBA::ORB_ptr orb)
{
this->orb_ = CORBA::ORB::_duplicate (orb);
}
|