axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dee...@apache.org
Subject svn commit: r472392 - /webservices/axis2/branches/java/1_1/modules/kernel/src/org/apache/axis2/engine/AxisEngine.java
Date Wed, 08 Nov 2006 04:57:25 GMT
Author: deepal
Date: Tue Nov  7 20:57:25 2006
New Revision: 472392

URL: http://svn.apache.org/viewvc?view=rev&rev=472392
Log:
adding comment abt TransportNonBlockingInvocationWorker

Modified:
    webservices/axis2/branches/java/1_1/modules/kernel/src/org/apache/axis2/engine/AxisEngine.java

Modified: webservices/axis2/branches/java/1_1/modules/kernel/src/org/apache/axis2/engine/AxisEngine.java
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/kernel/src/org/apache/axis2/engine/AxisEngine.java?view=diff&rev=472392&r1=472391&r2=472392
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/kernel/src/org/apache/axis2/engine/AxisEngine.java
(original)
+++ webservices/axis2/branches/java/1_1/modules/kernel/src/org/apache/axis2/engine/AxisEngine.java
Tue Nov  7 20:57:25 2006
@@ -725,7 +725,15 @@
     }
 
     /**
-     * This class is the workhorse for a non-blocking invocation that uses a two
+     *  This class is used when someone invoke a service invocation with two transports
+     * If we dont create a new thread then the main thread will block untill it gets the
+     * response . In the case of HTTP transportsender will block untill it gets HTTP 200
+     * So , main thread also block till transport sender rereases the tread. So there is
no
+     * actual non-blocking. That is why when sending we creat a new thead and send the
+     * requset via that.
+     *
+     * So whole porpose of this class to send the requset via a new thread
+     *
      * way transport.
      */
     private class TransportNonBlockingInvocationWorker implements Runnable {



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


Mime
View raw message