Class UIResynchronizationEvent
java.lang.Object
java.util.EventObject
com.vaadin.flow.server.communication.UIResynchronizationEvent
- All Implemented Interfaces:
Serializable
Event fired through the
service event bus
when the client asks the server to resynchronize a UI, on the request thread
while the session is locked and before the UI is resynchronized.
The client asks for a resynchronization when it detects that it missed a message from the server, typically because of a bad network connection or a push connection that was closed by a proxy. The server then sends the full state of the UI to the client.
- Since:
- 25.4
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
UIResynchronizationEvent
Creates a new event.- Parameters:
ui- the UI to resynchronize, notnull
-
-
Method Details
-
getUI
Gets the UI to resynchronize.- Returns:
- the UI, not
null
-