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
 CacheMessage UUIDBroadcasterCache.addToCache(String broadcasterId, AtmosphereResource r, BroadcastMessage message)
          Start tracking messages associated with AtmosphereResource from the cache
 CacheMessage SessionBroadcasterCache.addToCache(String broadcasterId, AtmosphereResource r, BroadcastMessage message)
           
 CacheMessage HeaderBroadcasterCache.addToCache(String broadcasterId, AtmosphereResource r, BroadcastMessage e)
          Deprecated.  
 CacheMessage DefaultBroadcasterCache.addToCache(String broadcasterId, AtmosphereResource r, BroadcastMessage e)
           
 void UUIDBroadcasterCache.clearCache(String broadcasterId, AtmosphereResource r, CacheMessage message)
          Remove the previously cached message.
 void DefaultBroadcasterCache.clearCache(String broadcasterId, AtmosphereResource r, CacheMessage cache)
           
 void AbstractBroadcasterCache.clearCache(String broadcasterId, AtmosphereResource r, CacheMessage cache)
           
 void UUIDBroadcasterCache.excludeFromCache(String broadcasterId, AtmosphereResource r)
           
 void DefaultBroadcasterCache.excludeFromCache(String broadcasterId, AtmosphereResource r)
           
 void AbstractBroadcasterCache.excludeFromCache(String broadcasterId, AtmosphereResource r)
           
 boolean UUIDBroadcasterCache.includeInCache(String broadcasterId, AtmosphereResource r)
           
 boolean DefaultBroadcasterCache.includeInCache(String broadcasterId, AtmosphereResource r)
           
 boolean AbstractBroadcasterCache.includeInCache(String broadcasterId, AtmosphereResource r)
           
 List<Object> UUIDBroadcasterCache.retrieveFromCache(String broadcasterId, AtmosphereResource r)
          Retrieve messages associated with AtmosphereResource
 List<Object> SessionBroadcasterCache.retrieveFromCache(String broadcasterId, AtmosphereResource r)
           
 List<Object> HeaderBroadcasterCache.retrieveFromCache(String broadcasterId, AtmosphereResource r)
          Deprecated.  
 List<Object> DefaultBroadcasterCache.retrieveFromCache(String id, AtmosphereResource r)
           
protected  String UUIDBroadcasterCache.uuid(AtmosphereResource r)
           
 

Uses of AtmosphereResource in org.atmosphere.client
 

Methods in org.atmosphere.client with parameters of type AtmosphereResource
 BroadcastFilter.BroadcastAction TrackMessageSizeFilter.filter(AtmosphereResource r, Object originalMessage, Object message)
           
 Action TrackMessageSizeInterceptor.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 AtmosphereResponse.
 

Fields in org.atmosphere.cpr declared as AtmosphereResource
protected  AtmosphereResource DefaultBroadcaster.noOpsResource
           
 

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 AtmosphereResource.addEventListener(AtmosphereResourceEventListener e)
          Add a AtmosphereResourceEventListener.
 AtmosphereResource AtmosphereResourceFactory.create(AtmosphereConfig config, AtmosphereRequest request, AtmosphereResponse response, AsyncSupport<?> a)
          Create an AtmosphereResourceImpl
 AtmosphereResource AtmosphereResourceFactory.create(AtmosphereConfig config, AtmosphereResponse response, AsyncSupport<?> a)
          Create an AtmosphereResourceImpl
 AtmosphereResource AtmosphereResourceFactory.create(AtmosphereConfig config, Broadcaster broadcaster, AtmosphereRequest request, AtmosphereResponse response, AsyncSupport<?> a, AtmosphereHandler handler)
          Create an AtmosphereResourceImpl
 AtmosphereResource AtmosphereResourceFactory.create(AtmosphereConfig config, Broadcaster broadcaster, AtmosphereResponse response, AsyncSupport<?> a, AtmosphereHandler handler)
          Create an AtmosphereResourceImpl
 AtmosphereResource AtmosphereResourceFactory.create(AtmosphereConfig config, String uuid)
          Create an AtmosphereResource associated with the uuid.
 AtmosphereResource AtmosphereResourceFactory.find(String uuid)
          Find an AtmosphereResource based on its uuid()
 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 All AtmosphereResourceEventListener.
 AtmosphereResource AtmosphereResource.notifyListeners()
          Notify All AtmosphereResourceEventListener.
 AtmosphereResource AtmosphereResourceImpl.notifyListeners(AtmosphereResourceEvent event)
          Notify AtmosphereResourceEventListener.
 AtmosphereResource AtmosphereResource.notifyListeners(AtmosphereResourceEvent e)
          Notify AtmosphereResourceEventListener.
 AtmosphereResource AtmosphereResourceFactory.remove(String uuid)
          Remove the AtmosphereResource from all instance of Broadcaster
 AtmosphereResource AtmosphereResourceImpl.removeEventListener(AtmosphereResourceEventListener e)
          Remove aAtmosphereResourceEventListener.
 AtmosphereResource AtmosphereResource.removeEventListener(AtmosphereResourceEventListener e)
          Remove aAtmosphereResourceEventListener.
 AtmosphereResource AtmosphereResourceImpl.removeEventListeners()
          Remove all AtmosphereResourceEventListener.
 AtmosphereResource AtmosphereResource.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 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)
           
 AtmosphereResource AtmosphereResource.suspend(long timeout)
          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.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(java.lang.Object) is invoked.
 Broadcaster Broadcaster.addAtmosphereResource(AtmosphereResource resource)
          Add a AtmosphereResource to the list of item to be notified when the Broadcaster.broadcast(java.lang.Object) is invoked.
 CacheMessage BroadcasterCache.addToCache(String broadcasterId, AtmosphereResource r, BroadcastMessage e)
          Start tracking messages associated with AtmosphereResource from the cache
 Future<Object> DefaultBroadcaster.broadcast(Object msg, AtmosphereResource r)
          Broadcast the Object to all suspended response, e.g.
 Future<Object> Broadcaster.broadcast(Object o, AtmosphereResource resource)
          Broadcast the Object to all suspended response, e.g.
protected  void DefaultBroadcaster.broadcastOnResume(AtmosphereResource r)
           
protected  void DefaultBroadcaster.cacheAndSuspend(AtmosphereResource r)
          Look in the cache to see of there are messages available, and takes the appropriate actions.
 void DefaultBroadcaster.cacheLostMessage(AtmosphereResource r)
          Cache the message because an unexpected exception occurred.
 void DefaultBroadcaster.cacheLostMessage(AtmosphereResource r, boolean force)
          Cache the message because an unexpected exception occurred.
 void DefaultBroadcaster.cacheLostMessage(AtmosphereResource r, DefaultBroadcaster.AsyncWriteToken token)
          Cache the message because an unexpected exception occurred.
 void DefaultBroadcaster.cacheLostMessage(AtmosphereResource r, DefaultBroadcaster.AsyncWriteToken token, boolean force)
          Cache the message because an unexpected exception occurred.
protected  boolean DefaultBroadcaster.checkCachedAndPush(AtmosphereResource r, AtmosphereResourceEvent e)
           
 void BroadcasterCache.clearCache(String broadcasterId, AtmosphereResource r, CacheMessage cache)
          Remove the previously cached message.
 AtmosphereResourceImpl AtmosphereResourceImpl.cloneState(AtmosphereResource r)
           
protected  boolean AsynchronousProcessor.completeLifecycle(AtmosphereResource r, boolean cancelled)
          Cancel or times out an AtmosphereResource by invoking it's associated AtmosphereHandler.onStateChange(AtmosphereResourceEvent)
 void BroadcasterCache.excludeFromCache(String broadcasterId, AtmosphereResource r)
          Allow an application to exclude, or block, an AtmosphereResource to received cached message.
 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
 boolean BroadcasterCache.includeInCache(String broadcasterId, AtmosphereResource r)
          Re-allow an AtmosphereResource to receive cached message.
 Action AtmosphereInterceptorAdapter.inspect(AtmosphereResource r)
           
 Action AtmosphereInterceptor.inspect(AtmosphereResource r)
          Invoked before an AtmosphereResource gets dispatched to AtmosphereHandler
protected  void DefaultBroadcaster.invokeOnStateChange(AtmosphereResource r, AtmosphereResourceEvent e)
           
protected  void DefaultBroadcaster.notifyAndAdd(AtmosphereResource r)
           
protected  void DefaultBroadcaster.notifyOnAddAtmosphereResourceListener(AtmosphereResource r)
           
protected  void DefaultBroadcaster.notifyOnRemoveAtmosphereResourceListener(AtmosphereResource r)
           
 void BroadcasterListenerAdapter.onAddAtmosphereResource(Broadcaster b, AtmosphereResource r)
           
 void BroadcasterListener.onAddAtmosphereResource(Broadcaster b, AtmosphereResource r)
          Invoked when an AtmosphereResource is getting associated to a Broadcaster
 void DefaultBroadcaster.onException(Throwable t, AtmosphereResource ar)
           
 void DefaultBroadcaster.onException(Throwable t, AtmosphereResource ar, boolean notifyAndCache)
           
 void BroadcasterListenerAdapter.onRemoveAtmosphereResource(Broadcaster b, AtmosphereResource r)
           
 void BroadcasterListener.onRemoveAtmosphereResource(Broadcaster b, AtmosphereResource r)
          Invoked when an AtmosphereResource is getting removed to a Broadcaster
 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  void DefaultBroadcaster.perRequestFilter(AtmosphereResource r, DefaultBroadcaster.Entry msg, boolean cache)
           
protected  void DefaultBroadcaster.perRequestFilter(AtmosphereResource r, DefaultBroadcaster.Entry msg, boolean cache, boolean force)
           
 void AtmosphereInterceptorAdapter.postInspect(AtmosphereResource r)
           
 void AtmosphereInterceptor.postInspect(AtmosphereResource r)
          Invoked after an AtmosphereResource gets dispatched to AtmosphereHandler
protected  void DefaultBroadcaster.prepareInvokeOnStateChange(AtmosphereResource r, AtmosphereResourceEvent e)
           
protected  void DefaultBroadcaster.queueWriteIO(AtmosphereResource r, 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(java.lang.Object) is invoked.
 Broadcaster Broadcaster.removeAtmosphereResource(AtmosphereResource resource)
          Remove a AtmosphereResource from the list of item to be notified when the Broadcaster.broadcast(java.lang.Object) is invoked.
protected  Broadcaster DefaultBroadcaster.removeAtmosphereResource(AtmosphereResource r, boolean executeDone)
           
 List<Object> BroadcasterCache.retrieveFromCache(String id, AtmosphereResource r)
          Retrieve messages associated with AtmosphereResource
protected  boolean DefaultBroadcaster.retrieveTrackedBroadcast(AtmosphereResource r, AtmosphereResourceEvent e)
           
 

Method parameters in org.atmosphere.cpr with type arguments of type AtmosphereResource
 Future<Object> DefaultBroadcaster.broadcast(Object msg, Set<AtmosphereResource> subset)
          Broadcast the Object to all suspended response, e.g.
 Future<Object> Broadcaster.broadcast(Object 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)
           
DefaultBroadcaster.AsyncWriteToken(AtmosphereResource resource, Object msg, BroadcasterFuture future, Object originalMessage, CacheMessage cache)
           
 

Uses of AtmosphereResource in org.atmosphere.handler
 

Methods in org.atmosphere.handler with parameters of type AtmosphereResource
 void OnMessage.onOpen(AtmosphereResource resource)
          This method will be invoked when an connection has been received and not haven't yet be suspended.
 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 OnMessage.onRequest(AtmosphereResource resource)
           
 void ManagedAtmosphereHandler.onRequest(AtmosphereResource resource)
           
 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 TrackMessageSizeB64Interceptor.inspect(AtmosphereResource r)
           
 Action SuspendTrackerInterceptor.inspect(AtmosphereResource r)
           
 Action SSEAtmosphereInterceptor.inspect(AtmosphereResource r)
           
 Action SessionCreationInterceptor.inspect(AtmosphereResource r)
           
 Action PaddingAtmosphereInterceptor.inspect(AtmosphereResource r)
           
 Action OnDisconnectInterceptor.inspect(AtmosphereResource r)
           
 Action NginxInterceptor.inspect(AtmosphereResource r)
           
 Action JSONPAtmosphereInterceptor.inspect(AtmosphereResource r)
           
 Action JavaScriptProtocol.inspect(AtmosphereResource r)
           
 Action HeartbeatInterceptor.inspect(AtmosphereResource r)
           
 Action DefaultHeadersInterceptor.inspect(AtmosphereResource r)
           
 Action BroadcastOnPostAtmosphereInterceptor.inspect(AtmosphereResource r)
           
 Action AtmosphereResourceStateRecovery.inspect(AtmosphereResource r)
           
 Action AtmosphereResourceLifecycleInterceptor.inspect(AtmosphereResource r)
          Automatically suspend the AtmosphereResource based on AtmosphereResource.TRANSPORT value.
 Action AndroidAtmosphereInterceptor.inspect(AtmosphereResource r)
           
 void AtmosphereResourceStateRecovery.B.onAddAtmosphereResource(Broadcaster b, AtmosphereResource r)
           
 void AtmosphereResourceStateRecovery.B.onRemoveAtmosphereResource(Broadcaster b, AtmosphereResource r)
           
 void SuspendTrackerInterceptor.postInspect(AtmosphereResource r)
           
 void SessionCreationInterceptor.postInspect(AtmosphereResource r)
           
 void OnDisconnectInterceptor.postInspect(AtmosphereResource r)
           
 void NginxInterceptor.postInspect(AtmosphereResource r)
           
 void JavaScriptProtocol.postInspect(AtmosphereResource r)
           
 void DefaultHeadersInterceptor.postInspect(AtmosphereResource r)
           
 void BroadcastOnPostAtmosphereInterceptor.postInspect(AtmosphereResource r)
           
 void AtmosphereResourceStateRecovery.postInspect(AtmosphereResource r)
           
 void AtmosphereResourceLifecycleInterceptor.postInspect(AtmosphereResource r)
           
 

Uses of AtmosphereResource in org.atmosphere.util
 

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

Method parameters in org.atmosphere.util with type arguments of type AtmosphereResource
 Future<Object> SimpleBroadcaster.broadcast(Object msg, Set<AtmosphereResource> subset)
          Broadcast the Object to all suspended response, e.g.
 Future<Object> ExcludeSessionBroadcaster.broadcast(Object msg, Set<AtmosphereResource> subset)
          the AtmosphereResources subset will be exclude for this broadcast
 Future<Object> AbstractBroadcasterProxy.broadcast(Object 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, or null if the WebSocket has been closed before the WebSocket message has been processed.
 

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



Copyright © 2013. All Rights Reserved.