=default for generated implementation copy ctor
[ACE_TAO.git] / TAO / performance-tests / POA / Demux / client.cpp
blobb9279fe1b5184d00f944ee8a6d8e95994915a2e9
1 //=============================================================================
2 /**
3 * @file client.cpp
5 * client side main program
7 * @author Aniruddha Gokhale
8 */
9 //=============================================================================
11 #include "demux_test_client.h"
12 #include "tao/debug.h"
14 int
15 ACE_TMAIN(int argc, ACE_TCHAR *argv[])
17 // Set TAO_debug_level to 0 to ensure silent running unless
18 // debugging is explicitly invoked
19 TAO_debug_level = 0;
21 Demux_Test_Client demux_test_client;
23 try
25 int r = demux_test_client.init (argc, argv);
26 if (r == -1)
27 return -1;
29 demux_test_client.run ();
31 catch (const CORBA::SystemException& sysex)
33 sysex._tao_print_exception ("System Exception");
34 return -1;
36 catch (const CORBA::UserException& userex)
38 userex._tao_print_exception ("User Exception");
39 return -1;
42 return 0;