ws-sandesha-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From manj...@apache.org
Subject svn commit: r585032 - /webservices/sandesha/trunk/c/samples/rm_ping_1_0/rm_ping_1_0.c
Date Tue, 16 Oct 2007 04:25:47 GMT
Author: manjula
Date: Mon Oct 15 21:25:46 2007
New Revision: 585032

URL: http://svn.apache.org/viewvc?rev=585032&view=rev
Log:
Removing in between Sleeps in ping_client.

Modified:
    webservices/sandesha/trunk/c/samples/rm_ping_1_0/rm_ping_1_0.c

Modified: webservices/sandesha/trunk/c/samples/rm_ping_1_0/rm_ping_1_0.c
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/samples/rm_ping_1_0/rm_ping_1_0.c?rev=585032&r1=585031&r2=585032&view=diff
==============================================================================
--- webservices/sandesha/trunk/c/samples/rm_ping_1_0/rm_ping_1_0.c (original)
+++ webservices/sandesha/trunk/c/samples/rm_ping_1_0/rm_ping_1_0.c Mon Oct 15 21:25:46 2007
@@ -23,7 +23,7 @@
 #include <sandesha2_constants.h>
 #include <ctype.h>
 
-#define MAX_COUNT 5
+#define MAX_COUNT 15
 
 axiom_node_t *
 build_om_programatically(
@@ -130,14 +130,14 @@
     if(status)
         printf("\nping client invoke SUCCESSFUL!\n");
     payload = NULL;
-    AXIS2_SLEEP(MAX_COUNT);
+    /*AXIS2_SLEEP(MAX_COUNT);*/
     
     payload = build_om_programatically(env, "ping2");
     status = axis2_svc_client_send_robust(svc_client, env, payload);
     if(status)
         printf("\nping client invoke SUCCESSFUL!\n");
     payload = NULL;
-    AXIS2_SLEEP(MAX_COUNT);
+    /*AXIS2_SLEEP(MAX_COUNT);*/
 
     property = axutil_property_create_with_args(env, 0, 0, 0, AXIS2_VALUE_TRUE);
     axis2_options_set_property(options, env, "Sandesha2LastMessage", 
@@ -149,6 +149,9 @@
     
      /** Wait till callback is complete. Simply keep the parent thread running
        until our on_complete or on_error is invoked */
+
+    /*This sleep is for wait the main thread until sandesha sends the terminatesequence 
+     *messages. */
 
     AXIS2_SLEEP(MAX_COUNT);
    



---------------------------------------------------------------------
To unsubscribe, e-mail: sandesha-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: sandesha-dev-help@ws.apache.org


Mime
View raw message