Package com.vaadin.flow.component
Class HeartbeatEvent
java.lang.Object
java.util.EventObject
com.vaadin.flow.component.HeartbeatEvent
- All Implemented Interfaces:
Serializable
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
-
Method Summary
Methods inherited from class java.util.EventObject
toString
-
Constructor Details
-
HeartbeatEvent
Constructs a heartbeat Event.- Parameters:
ui
- UI for which the Event occurredheartbeatTime
- value for the heartbeat
-
-
Method Details
-
getHeartbeatTime
public long getHeartbeatTime() -
getSource
- Overrides:
getSource
in classEventObject
-