|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
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.
| Method Summary | |
|---|---|
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,
Iterator<CometHandler> iteratorHandlers)
Notify all CometHandler. |
void |
setBlockingNotification(boolean blockingNotification)
Set to true if the invoker of notify() should block when notifying Comet Handlers. |
| Method Detail |
|---|
boolean isBlockingNotification()
void setBlockingNotification(boolean blockingNotification)
void notify(CometEvent cometEvent,
Iterator<CometHandler> iteratorHandlers)
throws IOException
CometHandler.
cometEvent - the CometEvent used to notify CometHandleriteratorHandlers - An iterator over a list of CometHandler
IOException
void notify(CometEvent cometEvent,
CometHandler cometHandler)
throws IOException
CometHandler.
cometEvent - the CometEvent used to notify CometHandleriteratorHandlers - An iterator over a list of CometHandler
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||