Non blocking polling information.
authorfhanik <fhanik@13f79535-47bb-0310-9956-ffa450edef68>
Thu, 22 Jun 2006 00:48:53 +0000 (00:48 +0000)
committerfhanik <fhanik@13f79535-47bb-0310-9956-ffa450edef68>
Thu, 22 Jun 2006 00:48:53 +0000 (00:48 +0000)
commit8b4b444f315b72e8ea46a1509d80d1fe91b5137f
tree253598644d9d9f06704fcfb8296b9d3a212fe1fb
parent8975d3629d45e5d2e80273ab5113f2969811725a
Non blocking polling information.
This implementation in pure Java NIO is almost a mimic of the APR implementation. It blocks on read and write, but has non blocking polling capabilities. Currently the read/write blocking is "busy" blocking, but I will see if I can simply configure blocking for the socket and if that would still allow the poller to work as expected.
This makes it a suitable connector for comet style protocols and where APR is not desired or available.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@416187 13f79535-47bb-0310-9956-ffa450edef68
java/org/apache/catalina/connector/Connector.java
java/org/apache/coyote/http11/Http11NioProcessor.java [new file with mode: 0644]
java/org/apache/coyote/http11/Http11NioProtocol.java [new file with mode: 0644]
java/org/apache/coyote/http11/InternalNioInputBuffer.java [new file with mode: 0644]
java/org/apache/coyote/http11/InternalNioOutputBuffer.java [new file with mode: 0644]
java/org/apache/tomcat/util/net/NioEndpoint.java [new file with mode: 0644]