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 #1551 from DOCGroup/plm_jira_333
[ACE_TAO.git]
/
TAO
/
orbsvcs
/
tests
/
InterfaceRepo
/
IDL3_Test
/
client.cpp
blob
11539ae78d5df6ca5969f812b976a8be7ec385f3
1
// -*- C++ -*-
2
#include
"idl3_client.h"
3
4
int
5
ACE_TMAIN
(
int
argc
,
ACE_TCHAR
*
argv
[])
6
{
7
IDL3_Client client
;
8
9
try
10
{
11
if
(
client
.
init
(
argc
,
12
argv
)
13
== -
1
)
14
{
15
return
1
;
16
}
17
else
18
{
19
int
status
=
client
.
run
();
20
21
if
(
status
== -
1
)
22
{
23
return
1
;
24
}
25
}
26
}
27
catch
(
const
CORBA
::
Exception
&
ex
)
28
{
29
ex
.
_tao_print_exception
(
"Client Exception"
);
30
return
-
1
;
31
}
32
33
return
0
;
34
}