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, 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  LinkedList<CometEvent> DefaultConcurrentCometHandler.messageQueue
          todo replace with non array copying list for non rezing 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)
          enqueues event if another thread is currently working on this handler.
the first thread to start working will keep doing so until there are no further events in the internal queue.
 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.
 



Copyright © 2009 SUN Microsystems. All Rights Reserved.