summaryrefslogtreecommitdiff
path: root/examples/CORBA/client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/CORBA/client.cpp')
-rw-r--r--examples/CORBA/client.cpp27
1 files changed, 0 insertions, 27 deletions
diff --git a/examples/CORBA/client.cpp b/examples/CORBA/client.cpp
deleted file mode 100644
index 620bcf978af..00000000000
--- a/examples/CORBA/client.cpp
+++ /dev/null
@@ -1,27 +0,0 @@
-// $Id$
-
-#include "Test.hh"
-
-ACE_RCSID(CORBA, client, "$Id$")
-
-int
-main (int argc, char *argv[])
-{
- char *host = argc == 2 ? argv[1] : ACE_DEFAULT_SERVER_HOST;
-
- Test_var my_test;
-
- TRY {
- my_test = Test::_bind ("", host, IT_X);
- my_test->method (5);
- } CATCHANY {
- cerr << IT_X << endl;
- return -1;
- } ENDTRY;
-
- ACE_DEBUG ((LM_DEBUG, "everything works!\n"));
-
- // Memory for my_test is automatically released by destructor of
- // smart pointer.
- return 0;
-}