summaryrefslogtreecommitdiff
path: root/TAO/tests/BiDirectional/client.cpp
diff options
context:
space:
mode:
authorbala <bala@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-12-16 16:29:17 +0000
committerbala <bala@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-12-16 16:29:17 +0000
commit27b3d453552e5216dfc2a6874c9764ae893743b8 (patch)
tree3dd506e89cd6009e7ca029a477c51e3663911c5f /TAO/tests/BiDirectional/client.cpp
parenta53665061a7275a1ceb5ad4163e0cb91f190c8ab (diff)
downloadATCD-27b3d453552e5216dfc2a6874c9764ae893743b8.tar.gz
ChangeLogTag: Sat Dec 16 09:40:15 2000 Balachandran Natarajan <bala@cs.wustl.edu>
Diffstat (limited to 'TAO/tests/BiDirectional/client.cpp')
-rw-r--r--TAO/tests/BiDirectional/client.cpp18
1 files changed, 7 insertions, 11 deletions
diff --git a/TAO/tests/BiDirectional/client.cpp b/TAO/tests/BiDirectional/client.cpp
index 18d91db9090..50acc019605 100644
--- a/TAO/tests/BiDirectional/client.cpp
+++ b/TAO/tests/BiDirectional/client.cpp
@@ -6,12 +6,15 @@
ACE_RCSID(BiDirectional, client, "$Id$")
const char *ior = "file://test.ior";
-int do_shutdown = 0;
+
+void do_nothing (void)
+{
+}
int
parse_args (int argc, char *argv[])
{
- ACE_Get_Opt get_opts (argc, argv, "k:x");
+ ACE_Get_Opt get_opts (argc, argv, "k:");
int c;
while ((c = get_opts ()) != -1)
@@ -20,15 +23,12 @@ parse_args (int argc, char *argv[])
case 'k':
ior = get_opts.optarg;
break;
- case 'x':
- do_shutdown = 1;
- break;
+
case '?':
default:
ACE_ERROR_RETURN ((LM_ERROR,
"usage: %s "
"-k <ior> "
- "-x <shutdown> "
"\n",
argv [0]),
-1);
@@ -138,11 +138,7 @@ main (int argc, char *argv[])
r));
}
- if (do_shutdown)
- {
- server->shutdown (ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
+ orb->run ();
root_poa->destroy (1, 1, ACE_TRY_ENV);
ACE_TRY_CHECK;