blob: dd8ca517b0b7122bd669aa5d1f9afc69699650c7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
// $Id$
// ============================================================================
//
// = LIBRARY
// TAO/tests/ior_corbaloc/
//
// = FILENAME
// client.cpp
//
// = DESCRIPTION
// This implements a simple CORBA client for the
// corbaloc: style IOR parser
//
// = AUTHOR
// Priyanka Gontla <pgontla@ece.uci.edu>
//
// ============================================================================
#include "ior_corbaloc_client_i.h"
int main (int argc, char *argv [])
{
try
{
IOR_corbaloc_Client_i client;
int init_result;
init_result = client.init (argc, argv);
if (init_result == 0)
{
client.run ();
}
return 0;
}
catch (const CORBA::SystemException&)
{
//
}
catch (const CORBA::Exception& ex)
{
ex._tao_print_exception ("client");
}
return 0;
}
|