Package | Description |
---|---|
org.glassfish.grizzly.comet | |
org.glassfish.grizzly.comet.concurrent |
Modifier and Type | Field and Description |
---|---|
protected Map<String,CometContext> |
CometEngine.activeContexts
The current active
CometContext keyed by context path. |
protected CometEvent<CometContext> |
CometContext.eventInterrupt |
protected CometEvent<CometContext> |
CometContext.eventTerminate |
Modifier and Type | Method and Description |
---|---|
CometContext |
CometEngine.deregister(String topic)
Deregister the
CometHandler to the list of the CometContext . |
CometContext<E> |
DefaultCometHandler.getCometContext() |
CometContext |
CometEvent.getCometContext()
Return the
CometContext that fired this event. |
CometContext<E> |
CometHandler.getCometContext() |
<E> CometContext<E> |
CometEngine.getCometContext(String topic)
Return the
CometContext associated with the topic. |
<E> CometContext<E> |
CometEngine.register(String topic)
Register a context path with this
CometEngine . |
<E> CometContext<E> |
CometEngine.register(String topic,
Class<? extends NotificationHandler> notificationClass)
Instantiate a new
CometContext . |
<E> CometContext<E> |
CometEngine.register(String topic,
int type)
Deprecated.
Use
CometEngine.register(String) instead |
CometContext |
CometEngine.unregister(String topic)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected void |
CometEvent.setCometContext(CometContext cometContext)
Set the
CometContext that fired this event. |
void |
DefaultCometHandler.setCometContext(CometContext<E> cometContext) |
void |
CometHandler.setCometContext(CometContext<E> context) |
Constructor and Description |
---|
CometEvent(CometEvent.Type type,
CometContext context) |
CometEvent(CometEvent.Type type,
CometContext cometContext,
E attachment) |
DefaultCometHandler(CometContext<E> cometContext,
Response response) |
Modifier and Type | Method and Description |
---|---|
CometContext<E> |
DefaultConcurrentCometHandler.getCometContext() |
Modifier and Type | Method and Description |
---|---|
void |
DefaultConcurrentCometHandler.setCometContext(CometContext<E> context) |
Constructor and Description |
---|
DefaultConcurrentCometHandler(CometContext<E> context,
Response response) |
Copyright © 2014 Oracle Corporation. All rights reserved.