com.sun.grizzly.cometd
Class CometdNotificationHandler
java.lang.Object
com.sun.enterprise.web.connector.grizzly.comet.DefaultNotificationHandler
com.sun.grizzly.cometd.CometdNotificationHandler
- All Implemented Interfaces:
- NotificationHandler
public class CometdNotificationHandler
- extends DefaultNotificationHandler
Customized NotificationHandler that isolate notification to
subscribed channel.
- Author:
- Jeanfrancois Arcand
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CometdNotificationHandler
public CometdNotificationHandler()
notify0
protected void notify0(CometEvent cometEvent,
Iterator<CometHandler> iteratorHandlers)
throws IOException
- Notify only client subscribed to the active channel.
- Overrides:
notify0 in class DefaultNotificationHandler
- Throws:
IOException
Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.