EventSimple

data class EventSimple(val identifier: String = "", val timestamp: Instant = Instant.DISTANT_PAST, val appData: Map<String, DataItem> = emptyMap(), val data: ByteString) : Event

A simple event which can be used by applications for custom events.

Constructors

Link copied to clipboard
constructor(identifier: String = "", timestamp: Instant = Instant.DISTANT_PAST, appData: Map<String, DataItem> = emptyMap(), data: ByteString)

Properties

Link copied to clipboard
open override val appData: Map<String, DataItem>

Additional application-specific data.

Link copied to clipboard
val data: ByteString

application-specific data.

Link copied to clipboard
open override val identifier: String

A unique identifier for the event.

Link copied to clipboard
open override val timestamp: Instant

The timestamp when the event was recorded.

Functions

Link copied to clipboard
Link copied to clipboard