org.atmosphere.samples.chat
Class ChatAtmosphereHandler
java.lang.Object
org.atmosphere.samples.chat.ChatAtmosphereHandler
- All Implemented Interfaces:
- AtmosphereHandler
@AtmosphereHandlerService(path="/chat")
public class ChatAtmosphereHandler
- extends Object
- implements AtmosphereHandler
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()
onRequest
public void onRequest(AtmosphereResource r)
throws IOException
- Specified by:
onRequest in interface AtmosphereHandler
- Throws:
IOException
onStateChange
public void onStateChange(AtmosphereResourceEvent event)
throws IOException
- Specified by:
onStateChange in interface AtmosphereHandler
- Throws:
IOException
destroy
public void destroy()
- Specified by:
destroy in interface AtmosphereHandler
Copyright © 2012. All Rights Reserved.