blob: ccf070a72918b6c38d201e5d730ddc03b2cc24f2 (
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
|
//=============================================================================
/**
* @file client.cpp
*
* This implements a simple CORBA client for the
* CosNaming::NamingContextExt example
*
* @author Priyanka Gontla <pgontla@ece.uci.edu>
*/
//=============================================================================
#include "ncontextext_client_i.h"
int ACE_TMAIN (int argc, ACE_TCHAR *argv[])
{
int result = 0;
try
{
NContextExt_Client_i client;
if (client.init (argc, argv) != 0)
return 1;
result = client.run ();
}
catch (const CORBA::Exception& ex)
{
ex._tao_print_exception ("client");
return 1;
}
return result;
}
|