com.nec.webotx.enterprise.web.connector.grizzly.comet
インタフェース NotificationHandler

既知の実装クラスの一覧:
DefaultNotificationHandler

public interface NotificationHandler

This class is invoked when the CometContext.notify is invoked. The CometContext delegate the handling of the notification process to an implementation of this interface.


メソッドの概要
 boolean isBlockingNotification()
          Return true if the invoker of notify() should block when notifying Comet Handlers.
 void notify(CometEvent cometEvent, CometHandler cometHandler)
          Notify a single CometHandler.
 void notify(CometEvent cometEvent, java.util.Iterator<CometHandler> iteratorHandlers)
          Notify all CometHandler.
 void setBlockingNotification(boolean blockingNotification)
          Set to true if the invoker of notify() should block when notifying Comet Handlers.
 

メソッドの詳細

isBlockingNotification

boolean isBlockingNotification()
Return true if the invoker of notify() should block when notifying Comet Handlers.


setBlockingNotification

void setBlockingNotification(boolean blockingNotification)
Set to true if the invoker of notify() should block when notifying Comet Handlers.


notify

void notify(CometEvent cometEvent,
            java.util.Iterator<CometHandler> iteratorHandlers)
            throws java.io.IOException
Notify all CometHandler.

パラメータ:
cometEvent - the CometEvent used to notify CometHandler
iteratorHandlers - An iterator over a list of CometHandler
例外:
java.io.IOException

notify

void notify(CometEvent cometEvent,
            CometHandler cometHandler)
            throws java.io.IOException
Notify a single CometHandler.

パラメータ:
cometEvent - the CometEvent used to notify CometHandler
iteratorHandlers - An iterator over a list of CometHandler
例外:
java.io.IOException