HeartbeatMessage

data class HeartbeatMessage(val timestamp: Long = System.currentTimeMillis(), val latestEvent: String, val message: String, val instanceStatus: InstanceShortSummary, val status: ServiceStatus)

Sent periodically by the server. If something new has occurred, status=Event, otherwise status=Timeout

Constructors

Link copied to clipboard
constructor(timestamp: Long = System.currentTimeMillis(), latestEvent: String, message: String, instanceStatus: InstanceShortSummary, status: ServiceStatus)

Properties

Link copied to clipboard

Status of the local instance

Link copied to clipboard

Latest event timestamp

Link copied to clipboard

Latest associated message payload (always a String?)

Link copied to clipboard

Status of the service: Timeout / Event

Link copied to clipboard

Timestamp on the server side