Uses of Interface
org.atmosphere.cpr.AtmosphereResource

Packages that use AtmosphereResource
org.atmosphere.cache   
org.atmosphere.client   
org.atmosphere.cpr   
org.atmosphere.handler   
org.atmosphere.interceptor   
org.atmosphere.util   
org.atmosphere.websocket   
 

Uses of AtmosphereResource in org.atmosphere.cache
 

Methods in org.atmosphere.cache with parameters of type AtmosphereResource
 void BroadcasterCacheBase.addToCache(AtmosphereResource resource, Object object)
          Start tracking messages associated with AtmosphereResource from the cache
 void SessionBroadcasterCache.cache(AtmosphereResource r, BroadcasterCacheBase.CachedMessage cm)
          Cache the last message broadcasted.
 void HeaderBroadcasterCache.cache(AtmosphereResource ar, BroadcasterCacheBase.CachedMessage cm)
          Cache the last message broadcasted.
abstract  void BroadcasterCacheBase.cache(AtmosphereResource r, BroadcasterCacheBase.CachedMessage cm)
          Cache the last message broadcasted.
 List<Object> BroadcasterCacheBase.retrieveFromCache(AtmosphereResource r)
          Retrieve messages associated with AtmosphereResource
 BroadcasterCacheBase.CachedMessage SessionBroadcasterCache.retrieveLastMessage(AtmosphereResource r)
          Return the last message broadcasted to the AtmosphereResource.
 BroadcasterCacheBase.CachedMessage HeaderBroadcasterCache.retrieveLastMessage(AtmosphereResource ar)
          Return the last message broadcasted to the AtmosphereResource.
abstract  BroadcasterCacheBase.CachedMessage BroadcasterCacheBase.retrieveLastMessage(AtmosphereResource r)
          Return the last message broadcasted to the AtmosphereResource.
 

Uses of AtmosphereResource in org.atmosphere.client
 

Methods in org.atmosphere.client with parameters of type AtmosphereResource
 BroadcastFilter.BroadcastAction TrackMessageSizeFilter.filter(AtmosphereResource r, Object message, Object originalMessage)
           
 BroadcastFilter.BroadcastAction JSONPTransportFilter.filter(AtmosphereResource r, Object message, Object originalMessage)
          Deprecated.  
 Action MessageLengthInterceptor.inspect(AtmosphereResource r)
           
 

Uses of AtmosphereResource in org.atmosphere.cpr
 

Classes in org.atmosphere.cpr with type parameters of type AtmosphereResource
 interface AsyncSupport<E extends AtmosphereResource>
          Atmosphere's supported WebServer must implement this interface in order to be auto detected by the AtmosphereFramework.
 

Classes in org.atmosphere.cpr that implement AtmosphereResource
 class AtmosphereResourceImpl
          AtmosphereResource implementation for supporting AtmosphereRequest and AtmosphereRequest.
 

Fields in org.atmosphere.cpr with type parameters of type AtmosphereResource
protected  ConcurrentHashMap<AtmosphereRequest,AtmosphereResource> AsynchronousProcessor.aliveRequests
           
protected static ConcurrentHashMap<AtmosphereResource,Meteor> Meteor.cache
           
protected  ConcurrentLinkedQueue<AtmosphereResource> DefaultBroadcaster.resources
           
 

Methods in org.atmosphere.cpr that return AtmosphereResource
 AtmosphereResource AtmosphereResourceImpl.addEventListener(AtmosphereResourceEventListener e)
          Add a AtmosphereResourceEventListener.
 AtmosphereResource Meteor.getAtmosphereResource()
          Return the underlying AtmosphereResource
 AtmosphereResource AtmosphereResourceEventImpl.getResource()
          Return the AtmosphereResource associated with this event
 AtmosphereResource AtmosphereResourceEvent.getResource()
          Return the AtmosphereResource associated with this event
 AtmosphereResource AtmosphereResourceImpl.notifyListeners()
          Notify AtmosphereResourceEventListener.
 AtmosphereResource AtmosphereResourceImpl.notifyListeners(AtmosphereResourceEvent event)
          Notify AtmosphereResourceEventListener.
 AtmosphereResource AtmosphereResourceImpl.removeEventListener(AtmosphereResourceEventListener e)
          Add a AtmosphereResourceEventListener.
 AtmosphereResource AtmosphereResourceImpl.removeEventListeners()
          Remove all AtmosphereResourceEventListener.
 AtmosphereResource AtmosphereResponse.resource()
          The AtmosphereResource associated with this request.
 AtmosphereResource AtmosphereRequest.resource()
          The AtmosphereResource associated with this request.
 AtmosphereResource AtmosphereResourceImpl.resume()
          Complete the AtmosphereResponse and finish/commit it.
 AtmosphereResource AtmosphereResource.resume()
          Complete the AtmosphereResponse and finish/commit it.
 AtmosphereResource AtmosphereResourceImpl.resumeOnBroadcast(boolean resumeOnBroadcast)
          Set to true to resume the response once after the first broadcast.
 AtmosphereResource AtmosphereResource.resumeOnBroadcast(boolean resumeOnBroadcast)
          Set to true to resume the response once after the first broadcast.
 AtmosphereResource AtmosphereResourceImpl.setBroadcaster(Broadcaster broadcaster)
          Set the current Broadcaster.
 AtmosphereResource AtmosphereResource.setBroadcaster(Broadcaster broadcaster)
          Set the current Broadcaster.
 AtmosphereResource AtmosphereResourceImpl.setSerializer(Serializer s)
          Set the Serializer used to write broadcasted object.
 AtmosphereResource AtmosphereResource.setSerializer(Serializer s)
          Set the Serializer to use when write(java.io.OutputStream, java.lang.Object) execute the operation.
 AtmosphereResource AtmosphereResourceImpl.suspend()
          Suspend the AtmosphereResponse indefinitely.
 AtmosphereResource AtmosphereResource.suspend()
          Suspend the AtmosphereResponse indefinitely.
 AtmosphereResource AtmosphereResourceImpl.suspend(long timeout)
          Suspend the AtmosphereResponse.
 AtmosphereResource AtmosphereResource.suspend(long timeout)
          Suspend the AtmosphereResponse.
 AtmosphereResource AtmosphereResourceImpl.suspend(long timeout, boolean flushComment)
           
 AtmosphereResource AtmosphereResource.suspend(long timeout, boolean flushComment)
          Suspend the AtmosphereResponse.
 AtmosphereResource AtmosphereResourceImpl.suspend(long timeout, TimeUnit timeunit)
          Suspend the AtmosphereResponse.
 AtmosphereResource AtmosphereResource.suspend(long timeout, TimeUnit timeunit)
          Suspend the AtmosphereResponse.
 AtmosphereResource AtmosphereResourceImpl.suspend(long timeout, TimeUnit timeunit, boolean flushComment)
          Suspend the AtmosphereResponse.
 AtmosphereResource AtmosphereResource.suspend(long timeout, TimeUnit timeunit, boolean flushComment)
          Suspend the AtmosphereResponse.
 AtmosphereResource AtmosphereResourceImpl.write(OutputStream os, Object o)
          Write the broadcasted object using the OutputStream.
 AtmosphereResource AtmosphereResource.write(OutputStream os, Object o)
          Write the Object using the OutputStream by invoking the current Serializer.
 AtmosphereResource AtmosphereResourceImpl.writeOnTimeout(Object o)
          Set a message that will be written when the resource times out.
 AtmosphereResource AtmosphereResource.writeOnTimeout(Object o)
          Set a message that will be written when the resource times out.
 

Methods in org.atmosphere.cpr that return types with arguments of type AtmosphereResource
 Collection<AtmosphereResource> DefaultBroadcaster.getAtmosphereResources()
          Return an List of AtmosphereResource.
 Collection<AtmosphereResource> Broadcaster.getAtmosphereResources()
          Return an List of AtmosphereResource.
 

Methods in org.atmosphere.cpr with parameters of type AtmosphereResource
 Broadcaster DefaultBroadcaster.addAtmosphereResource(AtmosphereResource r)
          Add a AtmosphereResource to the list of item to be notified when the Broadcaster.broadcast(T) is invoked.
 Broadcaster Broadcaster.addAtmosphereResource(AtmosphereResource resource)
          Add a AtmosphereResource to the list of item to be notified when the Broadcaster.broadcast(T) is invoked.
 void BroadcasterConfig.DefaultBroadcasterCache.addToCache(AtmosphereResource r, Object e)
           
 void BroadcasterCache.addToCache(AtmosphereResource r, Object e)
          Start tracking messages associated with AtmosphereResource from the cache
protected  void DefaultBroadcaster.broadcast(AtmosphereResource r, AtmosphereResourceEvent e)
           
<T> Future<T>
DefaultBroadcaster.broadcast(T msg, AtmosphereResource r)
          Broadcast the Object to all suspended response, e.g.
<T> Future<T>
Broadcaster.broadcast(T o, AtmosphereResource resource)
          Broadcast the Object to all suspended response, e.g.
protected  void DefaultBroadcaster.broadcastOnResume(AtmosphereResource r)
           
 void DefaultBroadcaster.cacheLostMessage(AtmosphereResource r)
          Cache the message because an unexpected exception occurred.
 void DefaultBroadcaster.cacheLostMessage(AtmosphereResource r, DefaultBroadcaster.AsyncWriteToken token)
          Cache the message because an unexpected exception occurred.
protected  void DefaultBroadcaster.checkCachedAndPush(AtmosphereResource r, AtmosphereResourceEvent e)
           
static void AsynchronousProcessor.destroyResource(AtmosphereResource r)
           
 BroadcastFilter.BroadcastAction PerRequestBroadcastFilter.filter(AtmosphereResource atmosphereResource, Object originalMessage, Object message)
          Transform or Filter a message per request, with V as an indicator.
protected  BroadcastFilter.BroadcastAction BroadcasterConfig.filter(AtmosphereResource r, Object message, Object originalMessage)
          Invoke BroadcastFilter in the other they were added, with a unique AtmosphereRequest
 Action AtmosphereInterceptor.inspect(AtmosphereResource r)
          Invoked before an AtmosphereResource gets dispatched to AtmosphereHandler
 void DefaultBroadcaster.onException(Throwable t, AtmosphereResource ar)
           
 void AtmosphereHandler.onRequest(AtmosphereResource resource)
          When a client send a request to its associated AtmosphereHandler, it can decide if the underlying connection can be suspended (creating a Continuation) or handle the connection synchronously.
protected  Object DefaultBroadcaster.perRequestFilter(AtmosphereResource r, DefaultBroadcaster.Entry msg)
           
protected  void DefaultBroadcaster.queueWriteIO(AtmosphereResource r, Object finalMsg, DefaultBroadcaster.Entry entry)
           
 void DefaultBroadcasterFactory.removeAllAtmosphereResource(AtmosphereResource r)
          Remove all instance of AtmosphereResource from all registered Broadcaster
abstract  void BroadcasterFactory.removeAllAtmosphereResource(AtmosphereResource r)
          Remove all instance of AtmosphereResource from all registered Broadcaster
 Broadcaster DefaultBroadcaster.removeAtmosphereResource(AtmosphereResource r)
          Remove a AtmosphereResource from the list of item to be notified when the Broadcaster.broadcast(T) is invoked.
 Broadcaster Broadcaster.removeAtmosphereResource(AtmosphereResource resource)
          Remove a AtmosphereResource from the list of item to be notified when the Broadcaster.broadcast(T) is invoked.
 List<Object> BroadcasterConfig.DefaultBroadcasterCache.retrieveFromCache(AtmosphereResource r)
           
 List<Object> BroadcasterCache.retrieveFromCache(AtmosphereResource r)
          Retrieve messages associated with AtmosphereResource
protected  boolean DefaultBroadcaster.retrieveTrackedBroadcast(AtmosphereResource r, AtmosphereResourceEvent e)
           
protected  void DefaultBroadcaster.trackBroadcastMessage(AtmosphereResource r, Object msg)
           
 

Method parameters in org.atmosphere.cpr with type arguments of type AtmosphereResource
<T> Future<T>
DefaultBroadcaster.broadcast(T msg, Set<AtmosphereResource> subset)
          Broadcast the Object to all suspended response, e.g.
<T> Future<T>
Broadcaster.broadcast(T o, Set<AtmosphereResource> subset)
          Broadcast the Object to all suspended response, e.g.
 

Constructors in org.atmosphere.cpr with parameters of type AtmosphereResource
DefaultBroadcaster.AsyncWriteToken(AtmosphereResource resource, Object msg, BroadcasterFuture future, Object originalMessage)
           
 

Uses of AtmosphereResource in org.atmosphere.handler
 

Methods in org.atmosphere.handler with parameters of type AtmosphereResource
 void SimpleWebSocketAtmosphereHandler.onRequest(AtmosphereResource r)
          This method redirect the request to the server main page (index.html, index.jsp, etc.) and then execute the SimpleWebSocketAtmosphereHandler.upgrade(AtmosphereResource).
 void ReflectorServletProcessor.onRequest(AtmosphereResource r)
          Delegate the request to the Servlet.service method, and add the AtmosphereResource to the HttpServletRequest#setAttribute(java.lang.String, java.lang.Object)).
 void SimpleWebSocketAtmosphereHandler.upgrade(AtmosphereResource resource)
          WebSocket upgrade.
 

Uses of AtmosphereResource in org.atmosphere.interceptor
 

Methods in org.atmosphere.interceptor with parameters of type AtmosphereResource
 Action SSEAtmosphereInterceptor.inspect(AtmosphereResource r)
           
 Action JSONPAtmosphereInterceptor.inspect(AtmosphereResource r)
           
 

Uses of AtmosphereResource in org.atmosphere.util
 

Methods in org.atmosphere.util with parameters of type AtmosphereResource
protected  void AbstractBroadcasterProxy.broadcast(AtmosphereResource r, AtmosphereResourceEvent e)
          
<T> Future<T>
SimpleBroadcaster.broadcast(T msg, AtmosphereResource r)
          Broadcast the Object to all suspended response, e.g.
<T> Future<T>
ExcludeSessionBroadcaster.broadcast(T msg, AtmosphereResource r)
          the AtmosphereResource r will be exclude for this broadcast
<T> Future<T>
AbstractBroadcasterProxy.broadcast(T msg, AtmosphereResource r)
          Broadcast the Object to all suspended response, e.g.
protected  void SimpleBroadcaster.queueWriteIO(AtmosphereResource r, Object finalMsg, DefaultBroadcaster.Entry entry)
          
 

Method parameters in org.atmosphere.util with type arguments of type AtmosphereResource
<T> Future<T>
SimpleBroadcaster.broadcast(T msg, Set<AtmosphereResource> subset)
          Broadcast the Object to all suspended response, e.g.
<T> Future<T>
ExcludeSessionBroadcaster.broadcast(T msg, Set<AtmosphereResource> subset)
          the AtmosphereResources subset will be exclude for this broadcast
<T> Future<T>
AbstractBroadcasterProxy.broadcast(T msg, Set<AtmosphereResource> subset)
          Broadcast the Object to all suspended response, e.g.
 

Uses of AtmosphereResource in org.atmosphere.websocket
 

Methods in org.atmosphere.websocket that return AtmosphereResource
 AtmosphereResource WebSocket.resource()
          Return the an AtmosphereResource used by this WebSocket
 

Methods in org.atmosphere.websocket with parameters of type AtmosphereResource
 WebSocket WebSocket.resource(AtmosphereResource r)
          Associate an AtmosphereResource to this WebSocket
 



Copyright © 2012. All Rights Reserved.