[jboss-cvs] JBossRemoting/src/main/org/jboss/remoting/transport/coyote ...
Ron Sigal
ron_sigal at yahoo.com
Tue Oct 23 20:44:13 EDT 2007
User: rsigal
Date: 07/10/23 20:44:13
Modified: src/main/org/jboss/remoting/transport/coyote Tag:
remoting_2_x CoyoteInvoker.java
Log:
JBREM-713: Added event() method to satisfy new Adapter definition.
Revision Changes Path
No revision
No revision
1.23.2.6 +12 -0 JBossRemoting/src/main/org/jboss/remoting/transport/coyote/CoyoteInvoker.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: CoyoteInvoker.java
===================================================================
RCS file: /cvsroot/jboss/JBossRemoting/src/main/org/jboss/remoting/transport/coyote/CoyoteInvoker.java,v
retrieving revision 1.23.2.5
retrieving revision 1.23.2.6
diff -u -b -r1.23.2.5 -r1.23.2.6
--- CoyoteInvoker.java 13 Sep 2007 03:30:39 -0000 1.23.2.5
+++ CoyoteInvoker.java 24 Oct 2007 00:44:13 -0000 1.23.2.6
@@ -21,11 +21,13 @@
import org.apache.coyote.Adapter;
import org.apache.coyote.ProtocolHandler;
import org.apache.coyote.Request;
+import org.apache.coyote.Response;
import org.apache.tomcat.util.buf.B2CConverter;
import org.apache.tomcat.util.buf.ByteChunk;
import org.apache.tomcat.util.buf.CharChunk;
import org.apache.tomcat.util.buf.MessageBytes;
import org.apache.tomcat.util.http.MimeHeaders;
+import org.apache.tomcat.util.net.SocketStatus;
import org.jboss.remoting.InvocationRequest;
import org.jboss.remoting.InvocationResponse;
import org.jboss.remoting.InvokerLocator;
@@ -1016,4 +1018,14 @@
return new String(chars);
}
+
+ /**
+ * Necessary for implementation of org.apache.coyote.Adapter interface.
+ * Body is vacuous because event() is only used in comet mode.
+ */
+ public boolean event(Request arg0, Response arg1, SocketStatus arg2) throws Exception
+ {
+ return true;
+ }
+
}
More information about the jboss-cvs-commits
mailing list