com.sun.enterprise.web.connector.grizzly.comet
Class DefaultNotificationHandler
java.lang.Object
com.sun.grizzly.comet.DefaultNotificationHandler
com.sun.enterprise.web.connector.grizzly.comet.DefaultNotificationHandler
- All Implemented Interfaces:
- NotificationHandler
Deprecated. use DefaultNotificationHandler
from com.sun.grizzly.comet
public class DefaultNotificationHandler
- extends DefaultNotificationHandler
- implements NotificationHandler
Default Notificationhandler that uses the same a Grizzly Pipeline
to execute the notification process.
- Author:
- Jeanfrancois Arcand
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultNotificationHandler
public DefaultNotificationHandler()
- Deprecated.
setPipeline
protected void setPipeline(Pipeline pipeline)
- Deprecated.
- Set the
Pipeline
used for notifying the CometHandler.
- Overrides:
setPipeline
in class DefaultNotificationHandler
notify0
protected void notify0(CometEvent cometEvent,
CometHandler cometHandler)
throws IOException
- Deprecated.
- Notify a
CometHandler
.
CometEvent.INTERRUPT -> CometHandler.onInterrupt
CometEvent.NOTIFY -> CometHandler.onEvent
CometEvent.INITIALIZE -> CometHandler.onInitialize
CometEvent.TERMINATE -> CometHandler.onTerminate
CometEvent.READ -> CometHandler.onEvent
CometEvent.WRITE -> CometHandler.onEvent
- Overrides:
notify0
in class DefaultNotificationHandler
cometHandler
- The CometHandler to invoke.
- Throws:
IOException
Copyright © 2010 SUN Microsystems. All Rights Reserved.