public class TomcatCometHandler extends HttpServlet implements CometProcessor
| Constructor and Description | 
|---|
| TomcatCometHandler()Constructs a new handler. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | destroy()Invoked when the handler is destroyed. | 
| void | event(CometEvent event)Invoked by the clients via the servlet engine on each event. | 
| void | init()Invoked when the handler is initialized. | 
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, servicegetInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, logpublic void destroy()
destroy in interface Servletdestroy in class GenericServletpublic void event(CometEvent event) throws IOException, ServletException
event in interface CometProcessorIOExceptionServletExceptionpublic void init()
init in class GenericServletCopyright © 2008-2012 Anders Møller & Mathias Schwarz.