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, service
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
public void destroy()
destroy
in interface Servlet
destroy
in class GenericServlet
public void event(CometEvent event) throws IOException, ServletException
event
in interface CometProcessor
IOException
ServletException
public void init()
init
in class GenericServlet
Copyright © 2008-2012 Anders Møller & Mathias Schwarz.