blob: aa8d19ec17b224fe6209c508078862e9a0937350 (
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 (ACE_ENV_SINGLE_ARG_DECL_NOT_USED /* ACE_ENV_SINGLE_ARG_PARAMETER */)
ACE_THROW_SPEC ((CORBA::SystemException))
{
ACE_DEBUG ((LM_INFO,
"(%P|%t) Test method invoked.\n"));
}
void
Test_i::shutdown (ACE_ENV_SINGLE_ARG_DECL)
ACE_THROW_SPEC ((CORBA::SystemException))
{
ACE_DEBUG ((LM_INFO,
"Server is shutting down.\n"));
if (!CORBA::is_nil (this->orb_.in ()))
this->orb_->shutdown (0 ACE_ENV_ARG_PARAMETER);
}
void
Test_i::orb (CORBA::ORB_ptr orb)
{
this->orb_ = CORBA::ORB::_duplicate (orb);
}
|