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.
Class HeartbeatEvent
- java.lang.Object
-
- java.util.EventObject
-
- com.vaadin.flow.component.HeartbeatEvent
-
All Implemented Interfaces:
public class HeartbeatEvent extends EventObject
Event created for an application heartbeat from the client.
Since:
2.0
See Also:
-
-
Field Summary
-
Fields inherited from class java.util.EventObject
source
-
-
Constructor Summary
Constructors Constructor Description HeartbeatEvent​(UI ui, long heartbeatTime)
Constructs a heartbeat Event.
-
-
-
Constructor Detail
-
HeartbeatEvent
public HeartbeatEvent​(UI ui, long heartbeatTime)
Constructs a heartbeat Event.
Parameters:
ui
- UI for which the Event occurredheartbeatTime
- value for the heartbeat
-
-
Method Detail
-
getHeartbeatTime
public long getHeartbeatTime()
-
getSource
public UI getSource()
Overrides:
getSource
in classEventObject
-
-