com.sun.enterprise.web.connector.grizzly.comet
Class DefaultNotificationHandler

java.lang.Object
  extended by com.sun.grizzly.comet.DefaultNotificationHandler
      extended by 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

Field Summary
 
Fields inherited from class com.sun.grizzly.comet.DefaultNotificationHandler
blockingNotification, pipeline
 
Constructor Summary
DefaultNotificationHandler()
          Deprecated.  
 
Method Summary
protected  void notify0(CometEvent cometEvent, CometHandler cometHandler)
          Deprecated. Notify a CometHandler.
protected  void setPipeline(Pipeline pipeline)
          Deprecated. Set the Pipeline used for notifying the CometHandler.
 
Methods inherited from class com.sun.grizzly.comet.DefaultNotificationHandler
isBlockingNotification, notify, notify, notify0, setBlockingNotification
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.sun.grizzly.comet.NotificationHandler
isBlockingNotification, notify, notify, setBlockingNotification
 

Constructor Detail

DefaultNotificationHandler

public DefaultNotificationHandler()
Deprecated. 
Method Detail

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 © 2008 SUN Microsystems. All Rights Reserved.