Save This Page
Home » apache-tomcat-6.0.16-src » org.apache » catalina » [javadoc | source]
org.apache.catalina
public interface: CometProcessor [javadoc | source]

All Implemented Interfaces:
    Servlet

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. Note: When this interface is implemented, the service method of the servlet will never be called, and will be replaced with a begin event.
Method from org.apache.catalina.CometProcessor Summary:
event
Method from org.apache.catalina.CometProcessor Detail:
 public  void event(CometEvent event) throws IOException, ServletException
    Process the given Comet event.