directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: rev 57023 - incubator/directory/seda/trunk/src/java/org/apache/seda/protocol
Date Tue, 09 Nov 2004 12:36:18 GMT
Author: akarasulu
Date: Tue Nov  9 04:36:18 2004
New Revision: 57023

Modified:
   incubator/directory/seda/trunk/src/java/org/apache/seda/protocol/DefaultRequestProcessor.java
Log:
many response handler processing works now

Modified: incubator/directory/seda/trunk/src/java/org/apache/seda/protocol/DefaultRequestProcessor.java
==============================================================================
--- incubator/directory/seda/trunk/src/java/org/apache/seda/protocol/DefaultRequestProcessor.java
(original)
+++ incubator/directory/seda/trunk/src/java/org/apache/seda/protocol/DefaultRequestProcessor.java
Tue Nov  9 04:36:18 2004
@@ -133,25 +133,10 @@
         {
             Iterator list = handler.handle(key, request);
 
-            if (handler.isSequential())
+            while (list.hasNext())
             {
-                while (list.hasNext())
-                {
-                    response = list.next();
-
-                    // @todo: need to force serialized response processing
-                    // perhaps we need to add an isResponseOrdered or a
-                    // response sequence number for multi-part responses
-                    throw new UnsupportedOperationException("need response serialization");
-                }
-            }
-            else
-            {
-                while (list.hasNext())
-                {
-                    response = list.next();
-                    router.publish(new ResponseEvent(this, key, response));
-                }
+                response = list.next();
+                router.publish(new ResponseEvent(this, key, response));
             }
         }
         catch (Throwable t)

Mime
View raw message