org.directwebremoting.server.tomcat
Class DwrCometProcessor

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by org.directwebremoting.servlet.DwrServlet
              extended by org.directwebremoting.server.tomcat.DwrCometProcessor
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig, org.apache.catalina.CometProcessor

public class DwrCometProcessor
extends DwrServlet
implements org.apache.catalina.CometProcessor

A specialization of DwrServlet that allows Tomcat to give us the ability to drop threads.

Author:
Joe Walker [joe at getahead dot ltd dot uk]
See Also:
Serialized Form

Constructor Summary
DwrCometProcessor()
           
 
Method Summary
 void event(org.apache.catalina.CometEvent event)
           
 void init(javax.servlet.ServletConfig servletConfig)
           
 
Methods inherited from class org.directwebremoting.servlet.DwrServlet
destroy, doGet, doPost, getContainer
 
Methods inherited from class javax.servlet.http.HttpServlet
service
 
Methods inherited from class javax.servlet.GenericServlet
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.servlet.Servlet
destroy, getServletConfig, getServletInfo, service
 

Constructor Detail

DwrCometProcessor

public DwrCometProcessor()
Method Detail

init

public void init(javax.servlet.ServletConfig servletConfig)
          throws javax.servlet.ServletException
Specified by:
init in interface javax.servlet.Servlet
Overrides:
init in class DwrServlet
Throws:
javax.servlet.ServletException

event

public void event(org.apache.catalina.CometEvent event)
           throws java.io.IOException,
                  javax.servlet.ServletException
Specified by:
event in interface org.apache.catalina.CometProcessor
Throws:
java.io.IOException
javax.servlet.ServletException

Copyright 2008