org.atmosphere.samples.chat
Class SocketIOChatAtmosphereHandler

java.lang.Object
  extended by org.atmosphere.samples.chat.SocketIOChatAtmosphereHandler
All Implemented Interfaces:
AtmosphereHandler

@AtmosphereHandlerService(path="/chat",
                          interceptors=org.atmosphere.interceptor.AtmosphereResourceLifecycleInterceptor.class)
public class SocketIOChatAtmosphereHandler
extends Object
implements AtmosphereHandler

Simple SocketIO Implementation of the Atmosphere Chat

Author:
Sebastien Dionne : sebastien.dionne@gmail.com

Constructor Summary
SocketIOChatAtmosphereHandler()
           
 
Method Summary
 void destroy()
           
 void onRequest(AtmosphereResource r)
           
 void onStateChange(AtmosphereResourceEvent event)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SocketIOChatAtmosphereHandler

public SocketIOChatAtmosphereHandler()
Method Detail

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 © 2013. All Rights Reserved.