C O

C

ChatAtmosphereHandler - Class in org.atmosphere.samples.chat
Simple AtmosphereHandler that implement the logic to build a Chat application.
ChatAtmosphereHandler() - Constructor for class org.atmosphere.samples.chat.ChatAtmosphereHandler
 

O

onEvent(AtmosphereEvent<HttpServletRequest, HttpServletResponse>) - Method in class org.atmosphere.samples.chat.ChatAtmosphereHandler
When the AtmosphereServlet detect an HttpServletRequest maps to this AtmosphereHandler, the AtmosphereHandler.onEvent(org.atmosphere.cpr.AtmosphereEvent) gets invoked and the response will be suspended depending on the http method, e.g.
onMessage(AtmosphereEvent<HttpServletRequest, HttpServletResponse>) - Method in class org.atmosphere.samples.chat.ChatAtmosphereHandler
Invoked when a call to Broadcaster#broadcast(java.lang.Object) is issued or when the response times out, e.g whne the value AtmosphereEvent.suspend(long) expires.
org.atmosphere.samples.chat - package org.atmosphere.samples.chat
 

C O

Copyright © 2009 SUN Microsystems. All Rights Reserved.