Uses of Class
org.glassfish.grizzly.comet.CometEvent
Packages that use CometEvent
-
Uses of CometEvent in org.glassfish.grizzly.comet
Fields in org.glassfish.grizzly.comet declared as CometEventModifier and TypeFieldDescriptionprotected final CometEvent<CometContext>CometContext.eventInterruptprotected final CometEvent<CometContext>CometContext.eventTerminateMethods in org.glassfish.grizzly.comet with parameters of type CometEventModifier and TypeMethodDescriptionprotected voidCometContext.invokeCometHandler(CometEvent event, CometHandler cometHandler) Invoke aCometHandlerusing theCometEventvoidDefaultNotificationHandler.notify(CometEvent cometEvent, Iterator<CometHandler> iteratorHandlers) Notify allCometHandler.voidDefaultNotificationHandler.notify(CometEvent cometEvent, CometHandler cometHandler) Notify theCometHandler.voidNotificationHandler.notify(CometEvent cometEvent, Iterator<CometHandler> iteratorHandlers) Notify allCometHandler.voidNotificationHandler.notify(CometEvent cometEvent, CometHandler cometHandler) Notify a singleCometHandler.protected voidDefaultNotificationHandler.notify0(CometEvent cometEvent, CometHandler cometHandler) Notify aCometHandler.voidCometHandler.onEvent(CometEvent event) ReceiveCometEventnotification.voidDefaultCometHandler.onEvent(CometEvent event) voidCometHandler.onInitialize(CometEvent event) ReceiveCometEventnotification when Grizzly is about to suspend the connection.voidDefaultCometHandler.onInitialize(CometEvent event) voidCometHandler.onInterrupt(CometEvent event) ReceiveCometEventnotification when the underlying tcp communication is resumed by Grizzly.voidDefaultCometHandler.onInterrupt(CometEvent event) voidCometHandler.onTerminate(CometEvent event) ReceiveCometEventnotification when the response is resumed by aCometHandleror by theCometContextvoidDefaultCometHandler.onTerminate(CometEvent event) -
Uses of CometEvent in org.glassfish.grizzly.comet.concurrent
Fields in org.glassfish.grizzly.comet.concurrent with type parameters of type CometEventModifier and TypeFieldDescriptionprotected final Queue<CometEvent>DefaultConcurrentCometHandler.messageQueuetodo 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 org.glassfish.grizzly.comet.concurrent with parameters of type CometEventModifier and TypeMethodDescriptionvoidDefaultConcurrentCometHandler.enqueueEvent(CometEvent event) Queues event if another thread is currently working on this handler.voidDefaultConcurrentCometHandler.onInterrupt(CometEvent event) ReceiveCometEventnotification when the underlying tcp communication is resumed by Grizzly.voidDefaultConcurrentCometHandler.onQueueFull(CometEvent event) Called in synchronized context when the comet handler's local event queue is full.
default impl resumes the comet handlervoidDefaultConcurrentCometHandler.onTerminate(CometEvent event) ReceiveCometEventnotification when the response is resumed by aCometHandleror by theCometContext