StorageChange

data class StorageChange(version: String?, data: StorageChange.Data, error: Boolean?, account: String?) : ClientMessageWrapper

Broadcast to subscribed clients when there is a state change from the storage service

Constructors

Link copied to clipboard
fun StorageChange(version: String? = null, data: StorageChange.Data, error: Boolean? = false, account: String? = null)

Types

Link copied to clipboard
data class Data(version: Long?) : ClientMessageWrapper.Data

Properties

Link copied to clipboard
open override val account: String? = null

the account this message is from

Link copied to clipboard
open override val data: StorageChange.Data

the incoming object. The structure will vary from message to message, see type and version fields

Link copied to clipboard
open override val error: Boolean? = false

true if the incoming message represents an error

Link copied to clipboard
open override val version: String? = null

the version of the object in the data field