|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface UIEvents.PollNotifier
The interface for adding and removing UIEvents.PollEvent
listeners.
By implementing this interface, a class publicly announces that it is
able to send PollEvents
whenever the client sends a
periodic poll message to the client, to check for asynchronous
server-side modifications.
UI.setPollInterval(int)
Method Summary | |
---|---|
void |
addPollListener(UIEvents.PollListener listener)
Add a poll listener. |
void |
removePollListener(UIEvents.PollListener listener)
Remove a poll listener. |
Method Detail |
---|
void addPollListener(UIEvents.PollListener listener)
The listener is called whenever the client polls the server for asynchronous UI updates.
listener
- the UIEvents.PollListener
to addUI.setPollInterval(int)
,
#removePollListener(PollListener)
void removePollListener(UIEvents.PollListener listener)
listener
- the listener to be removed#addPollListener(PollListener)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |