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
/
Two_Objects
/
worker.cpp
blob
7c88437acacc99260d63aa8d2a338773bd9d9d30
1
2
#include
"worker.h"
3
4
Worker
::
Worker
(
CORBA
::
ORB_ptr orb
)
5
:
orb_
(
CORBA
::
ORB
::
_duplicate
(
orb
))
6
{
7
}
8
9
int
10
Worker
::
svc
(
void
)
11
{
12
13
try
14
{
15
this
->
orb_
->
run
();
16
}
17
catch
(
const
CORBA
::
Exception
&
ex
)
18
{
19
ex
.
_tao_print_exception
(
"Exception caught:"
);
20
}
21
return
0
;
22
}