org.atmosphere.samples.chat
Class ChatAtmosphereHandler
java.lang.Object
org.atmosphere.handler.AbstractReflectorAtmosphereHandler
org.atmosphere.handler.OnMessage<String>
org.atmosphere.samples.chat.ChatAtmosphereHandler
- All Implemented Interfaces:
- AtmosphereHandler
@AtmosphereHandlerService(path="/chat",
interceptors={org.atmosphere.interceptor.AtmosphereResourceLifecycleInterceptor.class,org.atmosphere.interceptor.BroadcastOnPostAtmosphereInterceptor.class})
public class ChatAtmosphereHandler- extends OnMessage<String>
Simple AtmosphereHandler that implement the logic to build a Chat application.
- Author:
- Jeanfrancois Arcand
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ChatAtmosphereHandler
public ChatAtmosphereHandler()
onMessage
public void onMessage(AtmosphereResponse response,
String message)
throws IOException
- Specified by:
onMessage in class OnMessage<String>
- Throws:
IOException
Copyright © 2013. All Rights Reserved.