repo.or.cz
/
ACE_TAO.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git]
/
TAO
/
tests
/
Portable_Interceptors
/
Bug_3080
/
test_i.cpp
blob
07ad3876c6b1306a7cbe24cbc66ebeb237333f14
1
// -*- C++ -*-
2
#include
"test_i.h"
3
4
test_i
::
test_i
(
CORBA
::
Short num
,
5
CORBA
::
ORB_ptr orb
)
6
:
number_
(
num
),
7
orb_
(
CORBA
::
ORB
::
_duplicate
(
orb
))
8
{
9
}
10
11
test_i
::~
test_i
(
void
)
12
{
13
}
14
15
CORBA
::
Short
16
test_i
::
number
(
void
)
17
{
18
return this
->
number_
;
19
}
20
21
void
22
test_i
::
shutdown
(
void
)
23
{
24
ACE_DEBUG
((
LM_DEBUG
,
25
"Server is shutting down via object %d.
\n
"
,
26
this
->
number_
));
27
this
->
orb_
->
shutdown
(
0
);
28
}