Child

interface Child : SubscribableEvent

Represents an event raised when a child node of a watched data node is updated, to be received by a callback function (previously passed to the Subscriber.subscribe method).

Types

Acknowledged
Link copied to clipboard

The Child event that is raised when the addition/change/removal of a child node to/of/from a watched data node is acknowledged by the back end.

Added
Link copied to clipboard

The Child event that is raised when a new child node is added to a watched data node.

AddedChanged
Link copied to clipboard
interface AddedChanged : SubscribableEvent.Child.AddedChangedRemoved

Subscribable event type that combines Added and Changed.

AddedChangedRemoved
Link copied to clipboard
interface AddedChangedRemoved : SubscribableEvent.Child

Subscribable event type that combines Added, Changed and Removed.

AddedRemoved
Link copied to clipboard
interface AddedRemoved : SubscribableEvent.Child.AddedChangedRemoved

Subscribable event type that combines Added and Removed.

Changed
Link copied to clipboard

The Child event that is raised when the value of an existing child node of a watched data node is changed.

ChangedRemoved
Link copied to clipboard
interface ChangedRemoved : SubscribableEvent.Child.AddedChangedRemoved

Subscribable event type that combines Changed and Removed.

Removed
Link copied to clipboard

The Child event that is raised when a child node is removed from a watched data node.

WithPreviousKey
Link copied to clipboard
interface WithPreviousKey

Represents an event relative to a child node that can be located in the tree node with respect to its sibling with the immediately preceding key (along the ordering of node keys).

Properties

isAcknowledgement
Link copied to clipboard
abstract val isAcknowledgement: Boolean

The notification of this SubscribableEvent only reports a value acknowledgement without change.

node
Link copied to clipboard
abstract val node: DatasyncNode

The data node watched by the notifying subscription.

subscription
Link copied to clipboard
abstract val subscription: Subscription

The Subscription instance that notifies this instance of SubscribableEvent.

value
Link copied to clipboard
abstract val value: DatasyncValue

The value of the updated child node of the watched data node.

Inheritors

SubscribableEvent.Child
Link copied to clipboard