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

Packages that use CometEvent
com.sun.grizzly.comet   
com.sun.grizzly.comet.concurrent   
com.sun.grizzly.comet.handlers   
 

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, java.util.Iterator<CometHandler> iteratorHandlers)
          Notify all CometHandler.
 void DefaultNotificationHandler.notify(CometEvent cometEvent, java.util.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  java.util.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.
default impl calls terminate()
 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
default impl calls terminate()
 

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.
 



Copyright © 2010 Oracle. All Rights Reserved.