Package org.atmosphere.cpr

Interface Summary
AtmosphereEventLifecycle Simple life cycle interface for processing AtmosphereResourceEventListener.
AtmosphereHandler<F,G> Implementation of AtmosphereHandler allows creation of event-driven web applications which are hosted in the browser.
AtmosphereResource<E,F> A AtmosphereResource encapsulates the mechanism to AtmosphereResource.suspend(), AtmosphereResource.resume() and broadcast (AtmosphereResource.getBroadcaster()) messages among suspended response.
AtmosphereResourceEvent<E,F> An AtmosphereResourceEvent is created every time an event occurs like when a Broadcaster.broadcast(java.lang.Object) is executed, when a Browser close remotly close the connection or when a suspended times out or gets resumed.
AtmosphereResourceEventListener Receive notification when a resume, client disconnect or broadcast events occurs.
AtmosphereServletProcessor Simple interface that can be used to wrap a Servlet from an AtmosphereHandler
Broadcaster A Broadcaster is responsible for delivering messages to its subscribed AtmosphereResource, which are representing a suspended response.
BroadcasterCache<V,W> A BroadcasterCache is used to persist broadcasted Object Broadcaster.broadcast(Object).
BroadcastFilter Transform a message of type 'E" before it get broadcasted to AtmosphereHandler.onStateChange(org.atmosphere.cpr.AtmosphereResourceEvent)

See XSSHtmlFilter for an example.

BroadcastFilterLifecycle Add lifecycle method to the BroadcastFilter interface.
ClusterBroadcastFilter Specialize BroadcastFilter used when clustering is enabled.
CometSupport<E extends AtmosphereResource> Atmosphere's supported WebServer must implement this interface in order to be auto detected by the AtmosphereServlet.
CometSupportResolver This interface is used by AtmosphereServlet to determine which CometSupport instance should be used
Serializer Serialize the Object the result of invoking Broadcaster.broadcast(java.lang.Object)
 

Class Summary
AsynchronousProcessor Base class which implement the semantics of suspending and resuming of a Comet Request.
AtmosphereFilter Atmosphere supports for Filter, delegating all works to AtmosphereServlet.
AtmosphereResourceEventImpl AtmosphereResourceEvent implementation for Servlet Container.
AtmosphereResourceImpl AtmosphereResource implementation for supporting HttpServletRequest and HttpServletResponse.
AtmosphereServlet The AtmosphereServlet acts as a dispatcher for AtmosphereHandler defined in META-INF/atmosphere.xml, or if atmosphere.xml is missing, all classes that implements AtmosphereHandler will be discovered and mapped using the class's name.
AtmosphereServlet.Action Simple class/struck that hold the current state.
AtmosphereServlet.AtmosphereHandlerWrapper  
BroadcasterConfig Handle Broadcaster configuration like ExecutorService and BroadcastFilter
BroadcasterConfig.DefaultBroadcasterCache  
BroadcasterFactory Broadcaster factory used by Atmosphere when creating broadcaster.
BroadcasterFuture<E> Simple Future that can be used when awiting for a Broadcaster to finish it's broadcast operations to AtmosphereHandler
BroadcastFilter.BroadcastAction Simple class that tells the Broadcaster to broacast or not the transformed value.
DefaultBroadcaster Broadcaster implementation.
DefaultBroadcasterFactory This class is responsible for creating Broadcaster instance.
DefaultCometSupportResolver This is the default implementation of @link {CometSupportResolver}
Meteor A Meteor is a simple class that can be used from a Servlet to suspend, broadcast and resume a response.
MeteorServlet Simple Servlet to use when Atmosphere Meteor are used.
WebSocketProcessor Like the AsynchronousProcessor class, this class is responsible for dispatching WebSocket request to the proper WebSocketSupport implementation.
 

Enum Summary
AtmosphereServlet.Action.TYPE  
Broadcaster.POLICY  
Broadcaster.SCOPE  
BroadcastFilter.BroadcastAction.ACTION  
 



Copyright © 2010. All Rights Reserved.