public interface PollNotifier extends Serializable
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)
Modifier and Type | Method and Description |
---|---|
default Registration |
addPollListener(ComponentEventListener<PollEvent> listener)
Add a poll listener.
|
default Registration addPollListener(ComponentEventListener<PollEvent> listener)
The listener is called whenever the client polls the server for asynchronous UI updates.
listener
- the listener to addUI.setPollInterval(int)
Copyright © 2025. All rights reserved.