blob: 95cb1c92879e519aafa038e815de575325b17bfc (
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
|
//=============================================================================
/**
* @file client.cpp
*
* $Id$
*
* 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 ACE_TMAIN (int argc, ACE_TCHAR *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;
}
|