org.atmosphere.container
Class GoogleAppEngineCometSupport
java.lang.Object
org.atmosphere.cpr.AsynchronousProcessor
org.atmosphere.container.BlockingIOCometSupport
org.atmosphere.container.GoogleAppEngineCometSupport
- All Implemented Interfaces:
- CometSupport<AtmosphereResourceImpl>
public class GoogleAppEngineCometSupport
- extends BlockingIOCometSupport
This class gets used when the AtmosphereServlet detected the
Google App Engine support. In that case, the GAEDefaultBroadcaster wil be used.
- Author:
- Jeanfrancois Arcand
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GoogleAppEngineCometSupport
public GoogleAppEngineCometSupport(AtmosphereServlet.AtmosphereConfig config)
suspend
protected void suspend(AtmosphereServlet.Action action,
HttpServletRequest req,
HttpServletResponse res)
throws IOException,
ServletException
- Suspend the connection by blocking the current
Thread no more than 30 seconds
- Overrides:
suspend in class BlockingIOCometSupport
- Parameters:
action - The AtmosphereServlet.Actionreq - the HttpServletRequestres - the HttpServletResponse
- Throws:
IOException
ServletException
Copyright © 2010 SUN Microsystems. All Rights Reserved.