ws-sandesha-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sam...@apache.org
Subject svn commit: r550745 - /webservices/sandesha/trunk/c/samples/rm_report/report.c
Date Tue, 26 Jun 2007 09:01:51 GMT
Author: samisa
Date: Tue Jun 26 02:01:50 2007
New Revision: 550745

URL: http://svn.apache.org/viewvc?view=rev&rev=550745
Log:
Beautified the output

Modified:
    webservices/sandesha/trunk/c/samples/rm_report/report.c

Modified: webservices/sandesha/trunk/c/samples/rm_report/report.c
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/samples/rm_report/report.c?view=diff&rev=550745&r1=550744&r2=550745
==============================================================================
--- webservices/sandesha/trunk/c/samples/rm_report/report.c (original)
+++ webservices/sandesha/trunk/c/samples/rm_report/report.c Tue Jun 26 02:01:50 2007
@@ -223,12 +223,16 @@
         incoming_seq_list = sandesha2_report_get_incoming_seq_list(report, env);
         if(incoming_seq_list)
             size = axutil_array_list_size(incoming_seq_list, env);
+        
+        printf("Sandesha client report.\n");
+        printf(".......................\n");
+        
         for(i = 0; i < size; i++)
         {
             axis2_char_t *seq_id = axutil_array_list_get(incoming_seq_list, env, i);
             if(seq_id)
             {
-                printf("incoming seq_id %d:%s\n", i+1, seq_id);
+                printf("Incoming sequence ID %d : %s\n", i+1, seq_id);
             }
         }
         size = 0;
@@ -241,12 +245,13 @@
             if(seq_id)
             {
                 long completed_msgs_count = -1; 
-                printf("outgoing seq_id %d:%s\n", i+1, seq_id);
+                printf("Outgoing sequence ID %d : %s\n", i+1, seq_id);
                 completed_msgs_count = sandesha2_report_get_completed_msgs_count(
                     report, env, seq_id);
-                printf("completed_msgs_count:%ld\n", completed_msgs_count);
+                printf("Completed message count : %ld\n", completed_msgs_count);
             }
         }
+        printf("End of Sandesha client report.\n");
     }
     property = axutil_property_create_with_args(env, 0, 0, 0, AXIS2_VALUE_TRUE);
     axis2_options_set_property(options, env, "Sandesha2LastMessage", property);



---------------------------------------------------------------------
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