You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by ak...@apache.org on 2004/11/09 13:36:18 UTC
svn commit: rev 57023 - incubator/directory/seda/trunk/src/java/org/apache/seda/protocol
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)