public interface NotificationHandler
Modifier and Type | Method and Description |
---|---|
void |
notify(CometEvent cometEvent,
CometHandler cometHandler)
Notify a single
CometHandler . |
void |
notify(CometEvent cometEvent,
Iterator<CometHandler> iteratorHandlers)
Notify all
CometHandler . |
void notify(CometEvent cometEvent, Iterator<CometHandler> iteratorHandlers) throws IOException
CometHandler
.cometEvent
- the CometEvent used to notify CometHandleriteratorHandlers
- An iterator over a list of CometHandlerIOException
void notify(CometEvent cometEvent, CometHandler cometHandler) throws IOException
CometHandler
.cometEvent
- the CometEvent used to notify CometHandlercometHandler
- An iterator over a list of CometHandlerIOException
Copyright © 2014 Oracle Corporation. All rights reserved.