We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.flow.component.
Interface PollNotifier
-
All Superinterfaces:
All Known Implementing Classes:
public interface PollNotifier extends Serializable
The interface for adding and removing
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.Since:
1.0
See Also:
-
-
Method Summary
All Methods Modifier and Type Method Description default Registration
addPollListener​(ComponentEventListener<PollEvent> listener)
Add a poll listener.
-
-
-
Method Detail
-
addPollListener
default Registration addPollListener​(ComponentEventListener<PollEvent> listener)
Add a poll listener.
The listener is called whenever the client polls the server for asynchronous UI updates.
Parameters:
listener
- the listener to addReturns:
a handle that can be used for removing the listener
See Also:
-
-