com.vaadin.flow.component.

Class HeartbeatEvent

java.lang.Object
java.util.EventObject
com.vaadin.flow.component.HeartbeatEvent

All Implemented Interfaces:

Serializable

public class HeartbeatEvent extends EventObject

Event created for an application heartbeat from the client.

Since:

2.0

See Also:

  • Constructor Details

    • HeartbeatEvent

      public HeartbeatEvent(UI ui, long heartbeatTime)

      Constructs a heartbeat Event.

      Parameters:

      ui - UI for which the Event occurred

      heartbeatTime - value for the heartbeat

  • Method Details

    • getHeartbeatTime

      public long getHeartbeatTime()
    • getSource

      public UI getSource()

      Overrides:

      getSource in class EventObject