From: fhanik Date: Fri, 15 Jun 2007 21:27:12 +0000 (+0000) Subject: minor correction X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=cea9fc5d4b75e183855dc5944d15eae2374859e8;p=tomcat7.0 minor correction git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@547788 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/webapps/docs/aio.xml b/webapps/docs/aio.xml index c802a4381..b42edfb51 100644 --- a/webapps/docs/aio.xml +++ b/webapps/docs/aio.xml @@ -154,7 +154,7 @@

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.
+ It is important to remember that comet events are based around IO events of an actual socket.
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 @@

  • 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 configure + your comet connection for blocking or non blocking mode. using the configureBlocking(boolean) 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.