diff options
Diffstat (limited to 'ACE/TAO/orbsvcs/tests/ior_corbaname/client.cpp')
-rw-r--r-- | ACE/TAO/orbsvcs/tests/ior_corbaname/client.cpp | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/ACE/TAO/orbsvcs/tests/ior_corbaname/client.cpp b/ACE/TAO/orbsvcs/tests/ior_corbaname/client.cpp new file mode 100644 index 00000000000..ebd1dbce9dc --- /dev/null +++ b/ACE/TAO/orbsvcs/tests/ior_corbaname/client.cpp @@ -0,0 +1,43 @@ +// $Id$ +// + +// ============================================================================ +// +// = LIBRARY +// TAO/tests/ior_corbaname/ +// +// = FILENAME +// client.cpp +// +// = DESCRIPTION +// This implements a simple CORBA client for the +// corbaname: style IOR parser +// +// = AUTHOR +// Priyanka Gontla <pgontla@ece.uci.edu> +// +// +// ============================================================================ + +#include "ior_corbaname_client_i.h" + +int ACE_TMAIN (int argc, ACE_TCHAR *argv[]) +{ + + try + { + IOR_corbaname_Client_i client; + + if (client.init (argc, argv) == -1) + return 1; + else + { + return client.run (); + } + } + catch (const CORBA::Exception& ex) + { + ex._tao_print_exception ("client"); + } + return 1; +} |