org.atmosphere.samples.flickr
Class FlickrAtmosphereHandler

java.lang.Object
  extended by org.atmosphere.samples.flickr.FlickrAtmosphereHandler
All Implemented Interfaces:
AtmosphereHandler<HttpServletRequest,HttpServletResponse>

public class FlickrAtmosphereHandler
extends Object
implements AtmosphereHandler<HttpServletRequest,HttpServletResponse>

Simple Flickr Magnet Demo.

Author:
Jeanfrancois Arcand

Constructor Summary
FlickrAtmosphereHandler()
           
 
Method Summary
 AtmosphereEvent onEvent(AtmosphereEvent<HttpServletRequest,HttpServletResponse> ctx)
           
 AtmosphereEvent onMessage(AtmosphereEvent<HttpServletRequest,HttpServletResponse> ctx)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FlickrAtmosphereHandler

public FlickrAtmosphereHandler()
Method Detail

onEvent

public AtmosphereEvent onEvent(AtmosphereEvent<HttpServletRequest,HttpServletResponse> ctx)
                        throws IOException
Specified by:
onEvent in interface AtmosphereHandler<HttpServletRequest,HttpServletResponse>
Throws:
IOException

onMessage

public AtmosphereEvent onMessage(AtmosphereEvent<HttpServletRequest,HttpServletResponse> ctx)
                          throws IOException
Specified by:
onMessage in interface AtmosphereHandler<HttpServletRequest,HttpServletResponse>
Throws:
IOException


Copyright © 2009 SUN Microsystems. All Rights Reserved.