Package | Description |
---|---|
org.glassfish.grizzly.comet |
Modifier and Type | Class and Description |
---|---|
class |
DefaultNotificationHandler
Default NotificationHandler that uses a thread pool dedicated to the CometEngine to execute the notification
process.
|
Modifier and Type | Field and Description |
---|---|
protected NotificationHandler |
CometContext.notificationHandler
The default NotificationHandler.
|
Modifier and Type | Method and Description |
---|---|
NotificationHandler |
CometContext.getNotificationHandler()
Return the associated
NotificationHandler |
Modifier and Type | Method and Description |
---|---|
void |
CometContext.setNotificationHandler(NotificationHandler notificationHandler)
Set the current
NotificationHandler |
Modifier and Type | Method and Description |
---|---|
<E> CometContext<E> |
CometEngine.register(String topic,
Class<? extends NotificationHandler> notificationClass)
Instantiate a new
CometContext . |
Copyright © 2014 Oracle Corporation. All rights reserved.