public class ResinCometHandler extends GenericCometServlet
Constructor and Description |
---|
ResinCometHandler()
Constructs a new handler.
|
Modifier and Type | Method and Description |
---|---|
void |
destroy()
Invoked when the handler is destroyed.
|
void |
init()
Invoked when the handler is initialized.
|
boolean |
resume(ServletRequest servletRequest,
ServletResponse servletResponse,
CometController cometController)
Invoked by the clients via the servlet engine on READ event.
|
boolean |
service(ServletRequest servletRequest,
ServletResponse servletResponse,
CometController cometController)
Invoked by the clients via the servlet engine on BEGIN event.
|
service
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getServletConfig, getServletInfo, init
public void destroy()
destroy
in interface Servlet
destroy
in class GenericServlet
public void init()
init
in class GenericServlet
public boolean resume(ServletRequest servletRequest, ServletResponse servletResponse, CometController cometController) throws IOException, ServletException
resume
in interface CometServlet
resume
in class GenericCometServlet
IOException
ServletException
public boolean service(ServletRequest servletRequest, ServletResponse servletResponse, CometController cometController) throws IOException, ServletException
service
in interface CometServlet
service
in class GenericCometServlet
IOException
ServletException
Copyright © 2008-2012 Anders Møller & Mathias Schwarz.