org.atmosphere.samples.chat
Class NativeSocketIOAtmosphereHandler
java.lang.Object
org.atmosphere.socketio.cpr.SocketIOAtmosphereHandler
org.atmosphere.samples.chat.NativeSocketIOAtmosphereHandler
- All Implemented Interfaces:
- AtmosphereHandler
@AtmosphereHandlerService(path="/*")
public class NativeSocketIOAtmosphereHandler
- extends SocketIOAtmosphereHandler
Simple SocketIOAtmosphereHandler that implements the logic to build a
SocketIO Chat application.
- Author:
- Sebastien Dionne : sebastien.dionne@gmail.com
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NativeSocketIOAtmosphereHandler
public NativeSocketIOAtmosphereHandler()
onConnect
public void onConnect(AtmosphereResource r,
SocketIOSessionOutbound outbound)
throws IOException
- Specified by:
onConnect in class SocketIOAtmosphereHandler
- Throws:
IOException
onMessage
public void onMessage(AtmosphereResource r,
SocketIOSessionOutbound outbound,
String message)
- Specified by:
onMessage in class SocketIOAtmosphereHandler
onDisconnect
public void onDisconnect(AtmosphereResource r,
SocketIOSessionOutbound outbound,
DisconnectReason reason)
- Specified by:
onDisconnect in class SocketIOAtmosphereHandler
Copyright © 2013. All Rights Reserved.