Uses of Interface
com.sun.enterprise.web.connector.grizzly.comet.CometHandler

Packages that use CometHandler
com.sun.enterprise.web.connector.grizzly.comet   
com.sun.enterprise.web.connector.grizzly.comet.concurrent   
com.sun.grizzly.cometd   
 

Uses of CometHandler in com.sun.enterprise.web.connector.grizzly.comet
 

Fields in com.sun.enterprise.web.connector.grizzly.comet with type parameters of type CometHandler
protected  ConcurrentHashMap<CometHandler,SelectionKey> CometContext.handlers
          The list of registered CometHandler
 

Methods in com.sun.enterprise.web.connector.grizzly.comet that return CometHandler
 CometHandler CometContext.getCometHandler(int hashCode)
          Retrive a CometHandler using its hashKey;
protected  CometHandler CometContext.getCometHandler(SelectionKey key)
          Retrive a CometHandler using its SelectionKey.
 

Methods in com.sun.enterprise.web.connector.grizzly.comet that return types with arguments of type CometHandler
 Set<CometHandler> CometContext.getCometHandlers()
          Return the current list of active CometHandler return the current list of active CometHandler
 

Methods in com.sun.enterprise.web.connector.grizzly.comet with parameters of type CometHandler
 int CometContext.addCometHandler(CometHandler handler)
          Add a CometHandler.
 int CometContext.addCometHandler(CometHandler handler, boolean completeExecution)
          Add a CometHandler.
 boolean CometContext.isActive(CometHandler cometHandler)
          Return true if this CometHandler is still active, e.g.
 void DefaultNotificationHandler.notify(CometEvent cometEvent, CometHandler cometHandler)
          Notify a single CometHandler.
 void NotificationHandler.notify(CometEvent cometEvent, CometHandler cometHandler)
          Notify a single CometHandler.
protected  void DefaultNotificationHandler.notify0(CometEvent cometEvent, CometHandler cometHandler)
          Notify a CometHandler.
 boolean CometContext.registerAsyncRead(CometHandler handler)
          Register for asynchronous read.
 boolean CometContext.registerAsyncWrite(CometHandler handler)
          Register for asynchronous write.
 void CometContext.removeCometHandler(CometHandler handler)
          Remove a CometHandler.
 boolean CometContext.removeCometHandler(CometHandler handler, boolean resume)
          Remove a CometHandler.
 boolean CometContext.removeCometHandler0(CometHandler handler)
          Remove a CometHandler.
 void CometContext.resumeCometHandler(CometHandler handler)
          Resume the Comet request and remove it from the active CometHandler list.
protected  boolean CometContext.resumeCometHandler(CometHandler handler, boolean remove)
          Resume the Comet request.
 boolean CometContext.resumeCometHandler0(CometHandler handler)
          Resume the Comet request and remove it from the active CometHandler list.
 

Method parameters in com.sun.enterprise.web.connector.grizzly.comet with type arguments of type CometHandler
 void DefaultNotificationHandler.notify(CometEvent cometEvent, Iterator<CometHandler> iteratorHandlers)
          Notify all CometHandler.
 void NotificationHandler.notify(CometEvent cometEvent, Iterator<CometHandler> iteratorHandlers)
          Notify all CometHandler.
protected  void DefaultNotificationHandler.notify0(CometEvent cometEvent, Iterator<CometHandler> iteratorHandlers)
           
 

Uses of CometHandler in com.sun.enterprise.web.connector.grizzly.comet.concurrent
 

Classes in com.sun.enterprise.web.connector.grizzly.comet.concurrent that implement CometHandler
 class DefaultConcurrentCometHandler<E>
          We queue events in each CometHandler to lower the probability that slow or massive IO for one CometHandler severely delays events to others.

only streaming mode can benefit from buffering messages like this.
 

Uses of CometHandler in com.sun.grizzly.cometd
 

Subinterfaces of CometHandler in com.sun.grizzly.cometd
 interface CometdHandler
          Specialized CometHandler interface that add support to Cometd Verbs event.
 

Classes in com.sun.grizzly.cometd that implement CometHandler
 class BayeuxCometHandler
          This class implement the Bayeux Server side protocol.
 class BayeuxCometHandlerBase
           
 class DataHandler
          CometHandler used to support the meta channel Verb Connect and Reconnect.
 

Method parameters in com.sun.grizzly.cometd with type arguments of type CometHandler
protected  void CometdNotificationHandler.notify0(CometEvent cometEvent, Iterator<CometHandler> iteratorHandlers)
          Notify only client subscribed to the active channel.
 



Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.