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 #2222 from jwillemsen/jwi-dllexportwarning
[ACE_TAO.git]
/
TAO
/
tests
/
Two_Objects
/
worker.cpp
blob
126f4e825619995f053e7bc4aa204c58d3730f80
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
()
11
{
12
try
13
{
14
this
->
orb_
->
run
();
15
}
16
catch
(
const
CORBA
::
Exception
&
ex
)
17
{
18
ex
.
_tao_print_exception
(
"Exception caught:"
);
19
}
20
return
0
;
21
}