summaryrefslogtreecommitdiff
path: root/TAO/tests/AMI/simple_client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/AMI/simple_client.cpp')
-rw-r--r--TAO/tests/AMI/simple_client.cpp28
1 files changed, 28 insertions, 0 deletions
diff --git a/TAO/tests/AMI/simple_client.cpp b/TAO/tests/AMI/simple_client.cpp
index c7860c02cb5..c8dd6fb68b8 100644
--- a/TAO/tests/AMI/simple_client.cpp
+++ b/TAO/tests/AMI/simple_client.cpp
@@ -267,6 +267,34 @@ ACE_TMAIN(int argc, ACE_TCHAR *argv[])
l,
"Let's talk SMI.");
+ for (ssize_t ni = 0; ni < niterations; ni++)
+ {
+ ACE_DEBUG ((LM_DEBUG,
+ "Sending another asynch message: %d\n",
+ ni));
+
+ ami_test_var->sendc_foo (the_handler_var.in (),
+ l,
+ "Let's talk AMI.");
+ }
+
+ if (debug)
+ {
+ ACE_DEBUG ((LM_DEBUG,
+ "<%d> more asynchronous methods issued\n",
+ niterations));
+ }
+
+ if (debug)
+ {
+ ACE_DEBUG ((LM_DEBUG,
+ "Issuing a synchronous method to collect the AMI replies again\n"));
+ }
+
+ number = ami_test_var->foo (l,
+ l,
+ "Let's talk SMI.");
+
if (debug)
{
ACE_DEBUG ((LM_DEBUG,