Uses of Class
com.sun.grizzly.comet.CometEvent

Packages that use CometEvent
com.sun.enterprise.web.connector.grizzly.comet   
com.sun.grizzly.comet   
com.sun.grizzly.comet.concurrent   
com.sun.grizzly.comet.handlers   
com.sun.grizzly.cometd   
com.sun.grizzly.samples.comet   
com.sun.grizzly.samples.comet.iframechat   
com.sun.grizzly.samples.stickies   
 

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

Subclasses of CometEvent in com.sun.enterprise.web.connector.grizzly.comet
 class CometEvent<E>
          Deprecated. use CometEvent
 

Methods in com.sun.enterprise.web.connector.grizzly.comet with parameters of type CometEvent
protected  void DefaultNotificationHandler.notify0(CometEvent cometEvent, CometHandler cometHandler)
          Deprecated. Notify a CometHandler.
 

Uses of CometEvent in com.sun.grizzly.comet
 

Fields in com.sun.grizzly.comet declared as CometEvent
protected  CometEvent CometContext.eventInterrupt
           
protected  CometEvent CometContext.eventTerminate
           
 

Methods in com.sun.grizzly.comet with parameters of type CometEvent
protected  void CometContext.invokeCometHandler(CometEvent event, CometHandler cometHandler)
          Invoke a CometHandler using the CometEvent
 void NotificationHandler.notify(CometEvent cometEvent, CometHandler cometHandler)
          Notify a single CometHandler.
 void DefaultNotificationHandler.notify(CometEvent cometEvent, CometHandler cometHandler)
          Notify the CometHandler.
 void NotificationHandler.notify(CometEvent cometEvent, Iterator<CometHandler> iteratorHandlers)
          Notify all CometHandler.
 void DefaultNotificationHandler.notify(CometEvent cometEvent, Iterator<CometHandler> iteratorHandlers)
          Notify all CometHandler.
protected  void DefaultNotificationHandler.notify0(CometEvent cometEvent, CometHandler cometHandler)
          Notify a CometHandler.
 void CometHandler.onEvent(CometEvent event)
          Receive CometEvent notification.
 void CometHandler.onInitialize(CometEvent event)
          Receive CometEvent notification when Grizzly is about to suspend the connection.
 void CometHandler.onInterrupt(CometEvent event)
          Receive CometEvent notification when the underlying tcp communication is resumed by Grizzly.
 void CometHandler.onTerminate(CometEvent event)
          Receive CometEvent notification when the response is resumed by a CometHandler or by the CometContext
 

Uses of CometEvent in com.sun.grizzly.comet.concurrent
 

Fields in com.sun.grizzly.comet.concurrent with type parameters of type CometEvent
protected  Queue<CometEvent> DefaultConcurrentCometHandler.messageQueue
          todo replace with non array copying list for non resizing add situations, using internal index to keep track of state , not a linked list, it has too much overhead and eats memory.
 

Methods in com.sun.grizzly.comet.concurrent with parameters of type CometEvent
 void DefaultConcurrentCometHandler.enqueueEvent(CometEvent event)
          Queues event if another thread is currently working on this handler.
 void DefaultConcurrentCometHandler.onInterrupt(CometEvent event)
          Receive CometEvent notification when the underlying tcp communication is resumed by Grizzly.
 void DefaultConcurrentCometHandler.onQueueFull(CometEvent event)
          called in synchronized context.
 void DefaultConcurrentCometHandler.onTerminate(CometEvent event)
          Receive CometEvent notification when the response is resumed by a CometHandler or by the CometContext
 

Uses of CometEvent in com.sun.grizzly.comet.handlers
 

Methods in com.sun.grizzly.comet.handlers with parameters of type CometEvent
 void ReflectorCometHandler.onEvent(CometEvent event)
          Write attachment and resume the connection if ReflectorCometHandler.useStreaming is false
 void ReflectorCometHandler.onInitialize(CometEvent event)
          Send the ReflectorCometHandler.startingMessage before the connection get suspended.
 void ReflectorCometHandler.onInterrupt(CometEvent event)
          Send the ReflectorCometHandler.endingMessage before the connection get interupted.
 void ReflectorCometHandler.onTerminate(CometEvent event)
          Send the ReflectorCometHandler.endingMessage before the connection get terminated.
 

Uses of CometEvent in com.sun.grizzly.cometd
 

Methods in com.sun.grizzly.cometd with parameters of type CometEvent
 void DataHandler.onEvent(CometEvent event)
           
 void DataHandler.onInitialize(CometEvent event)
           
 void DataHandler.onInterrupt(CometEvent event)
           
 void DataHandler.onTerminate(CometEvent event)
           
 

Uses of CometEvent in com.sun.grizzly.samples.comet
 

Methods in com.sun.grizzly.samples.comet with parameters of type CometEvent
 void CometServlet.CometRequestHandler.onEvent(CometEvent event)
           
 void AjaxCometServlet.ChatListnerHandler.onEvent(CometEvent event)
           
 void CometServlet.CometRequestHandler.onInitialize(CometEvent event)
           
 void AjaxCometServlet.ChatListnerHandler.onInitialize(CometEvent event)
           
 void CometServlet.CometRequestHandler.onInterrupt(CometEvent event)
           
 void AjaxCometServlet.ChatListnerHandler.onInterrupt(CometEvent event)
           
 void CometServlet.CometRequestHandler.onTerminate(CometEvent event)
           
 void AjaxCometServlet.ChatListnerHandler.onTerminate(CometEvent event)
           
 

Uses of CometEvent in com.sun.grizzly.samples.comet.iframechat
 

Methods in com.sun.grizzly.samples.comet.iframechat with parameters of type CometEvent
 void CometServlet.CometRequestHandler.onEvent(CometEvent event)
           
 void CometServlet.CometRequestHandler.onInitialize(CometEvent event)
           
 void CometServlet.CometRequestHandler.onInterrupt(CometEvent event)
           
 void CometServlet.CometRequestHandler.onTerminate(CometEvent event)
           
 

Uses of CometEvent in com.sun.grizzly.samples.stickies
 

Methods in com.sun.grizzly.samples.stickies with parameters of type CometEvent
 void StickyHandler.onEvent(CometEvent event)
           
 void StickyHandler.onInitialize(CometEvent event)
           
 void StickyHandler.onInterrupt(CometEvent event)
           
 void StickyHandler.onTerminate(CometEvent event)
           
 



Copyright © 2012 Oracle Corporation. All Rights Reserved.