summaryrefslogtreecommitdiff
path: root/TAO/tests/AMI/simple_client.cpp
diff options
context:
space:
mode:
authormk1 <mk1@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-07-20 13:13:05 +0000
committermk1 <mk1@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-07-20 13:13:05 +0000
commit0aa49ef5c2d1ccab20888c3257678acb986cbd67 (patch)
tree8c59ad352e720c1dc7a4aa8b90e60bc037740777 /TAO/tests/AMI/simple_client.cpp
parent53c1e7141fad5b9d7f17159ead3d063f22863e9b (diff)
downloadATCD-0aa49ef5c2d1ccab20888c3257678acb986cbd67.tar.gz
ChangeLogTag: Fri Jul 20 08:10:00 2001 Michael Kircher <Michael.Kircher@mchp.siemens.de>
Diffstat (limited to 'TAO/tests/AMI/simple_client.cpp')
-rw-r--r--TAO/tests/AMI/simple_client.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/TAO/tests/AMI/simple_client.cpp b/TAO/tests/AMI/simple_client.cpp
index f6e69bd445e..77c14b0e919 100644
--- a/TAO/tests/AMI/simple_client.cpp
+++ b/TAO/tests/AMI/simple_client.cpp
@@ -209,6 +209,16 @@ main (int argc, char *argv[])
handler._this (ACE_TRY_ENV);
ACE_TRY_CHECK;
+ // Try out sending asynchronous messages without a reply handler
+ // registered. Things fail if we get an exception.
+
+ ami_test_var->sendc_foo (A::AMI_AMI_TestHandler::_nil (),
+ 0,
+ "",
+ ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+
// Trigger the DidTheRightThing exception on the server side
// by sending 0 to it.
ACE_DEBUG ((LM_DEBUG,