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
/
Bug_3896_Regression
/
Hello.cpp
blob
ee3b10eac8dc1a807a91c04a9fcda5a9560a219d
1
#include
"Hello.h"
2
#include
"ace/OS_NS_unistd.h"
3
4
Hello
::
Hello
(
CORBA
::
ORB_ptr orb
)
5
:
orb_
(
CORBA
::
ORB
::
_duplicate
(
orb
))
6
{
7
}
8
9
char
*
10
Hello
::
get_string
(
void
)
11
{
12
ACE_OS
::
sleep
(
10
);
13
14
return
CORBA
::
string_dup
(
"Hello there!"
);
15
}
16
17
void
18
Hello
::
shutdown
(
void
)
19
{
20
this
->
orb_
->
shutdown
(
0
);
21
}