- close() - Method in interface org.apache.catalina.comet.CometEvent
-
Ends the Comet session.
- CometEvent - Interface in org.apache.catalina.comet
-
The CometEvent interface.
- CometEvent.EventSubType - Enum in org.apache.catalina.comet
-
Event details
TIMEOUT - the connection timed out (sub type of ERROR); note that this ERROR type is not fatal, and
the connection will not be closed unless the servlet uses the close method of the event
CLIENT_DISCONNECT - the client connection was closed (sub type of ERROR)
IOEXCEPTION - an IO exception occurred, such as invalid content, for example, an invalid chunk block (sub type of ERROR)
WEBAPP_RELOAD - the webapplication is being reloaded (sub type of END)
SERVER_SHUTDOWN - the server is shutting down (sub type of END)
SESSION_END - the servlet ended the session (sub type of END)
- CometEvent.EventType - Enum in org.apache.catalina.comet
-
Enumeration describing the major events that the container can invoke
the CometProcessors event() method with
BEGIN - will be called at the beginning
of the processing of the connection.
- CometProcessor - Interface in org.apache.catalina.comet
-
This interface should be implemented by servlets which would like to handle
asynchronous IO, recieving events when data is available for reading, and
being able to output data without the need for being invoked by the container.