Author: fhanik Date: Fri Jun 15 14:27:12 2007 New Revision: 547788 URL: http://svn.apache.org/viewvc?view=rev&rev=547788 Log: minor correction
Modified: tomcat/trunk/webapps/docs/aio.xml Modified: tomcat/trunk/webapps/docs/aio.xml URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/aio.xml?view=diff&rev=547788&r1=547787&r2=547788 ============================================================================== --- tomcat/trunk/webapps/docs/aio.xml (original) +++ tomcat/trunk/webapps/docs/aio.xml Fri Jun 15 14:27:12 2007 @@ -154,7 +154,7 @@ <subsection name="Comet Operations"> <p> The previous section touched a little bit on the comet connection lifecycle. - It is important to remember that comet events are based around IO on an actual socket.<br/> + It is important to remember that comet events are based around IO events of an actual socket.<br/> To clarify the Comet API, it has been created to resemble the java.nio channel/selector APIs. In the case of Comet, Tomcat is the selector and using the CometEvent object, you can register and unregister your Comet event for different event type notifications. @@ -189,7 +189,7 @@ <li>EventType.BEGIN: will be called at the beginning of the processing of the connection. It can be used to initialize any relevant fields using the request and response objects. During the BEGIN event you may also configure - your comet connection for blocking or non blocking mode. using the <code>configure</code> + your comet connection for blocking or non blocking mode. using the <code>configureBlocking(boolean)</code> method on the comet event object. Between the end of the processing of this event, and the beginning of the processing of the end or error events, it is possible to use the response object to write data on the open connection. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]