You are viewing a plain text version of this content. The canonical link for it is here.
Posted to sandesha-dev@ws.apache.org by da...@apache.org on 2007/02/06 07:27:15 UTC
svn commit: r504008 - in /webservices/sandesha/trunk/c/samples:
rm_ping_1_0/rm_ping_1_0.c rm_ping_1_1/rm_ping_1_1.c
Author: damitha
Date: Mon Feb 5 22:27:14 2007
New Revision: 504008
URL: http://svn.apache.org/viewvc?view=rev&rev=504008
Log:
Reduced timing between sequence messages
Modified:
webservices/sandesha/trunk/c/samples/rm_ping_1_0/rm_ping_1_0.c
webservices/sandesha/trunk/c/samples/rm_ping_1_1/rm_ping_1_1.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?view=diff&rev=504008&r1=504007&r2=504008
==============================================================================
--- 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 Feb 5 22:27:14 2007
@@ -22,7 +22,7 @@
#include <sandesha2_client_constants.h>
#include <sandesha2_constants.h>
-#define MAX_COUNT 60
+#define MAX_COUNT 2
axiom_node_t *
build_om_programatically(
@@ -141,12 +141,14 @@
if(status)
printf("\nping client invoke SUCCESSFUL!\n");
payload = NULL;
+ 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(2 * MAX_COUNT);
property = axis2_property_create_with_args(env, 0, 0, 0, AXIS2_VALUE_TRUE);
AXIS2_OPTIONS_SET_PROPERTY(options, env, "Sandesha2LastMessage",
@@ -159,7 +161,7 @@
/** Wait till callback is complete. Simply keep the parent thread running
until our on_complete or on_error is invoked */
- AXIS2_SLEEP(MAX_COUNT);
+ AXIS2_SLEEP(2 * MAX_COUNT);
if (svc_client)
{
Modified: webservices/sandesha/trunk/c/samples/rm_ping_1_1/rm_ping_1_1.c
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/samples/rm_ping_1_1/rm_ping_1_1.c?view=diff&rev=504008&r1=504007&r2=504008
==============================================================================
--- webservices/sandesha/trunk/c/samples/rm_ping_1_1/rm_ping_1_1.c (original)
+++ webservices/sandesha/trunk/c/samples/rm_ping_1_1/rm_ping_1_1.c Mon Feb 5 22:27:14 2007
@@ -23,7 +23,7 @@
#include <sandesha2_constants.h>
#include <sandesha2_client.h>
-#define MAX_COUNT 8
+#define MAX_COUNT 1
axiom_node_t *
build_om_programatically(
---------------------------------------------------------------------
To unsubscribe, e-mail: sandesha-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: sandesha-dev-help@ws.apache.org