SubscribableEvent

interface SubscribableEvent : DatasyncEvent

Represents a type of DatasyncEvent to subscribe to.

This type is used in all subscription methods of the Subscriber class to specify which type of event must be subscribed. When using the callback channel (Subscriber.subscribe method), the callback function receives a Notification instance parametrized by the same type.

Types

Link copied to clipboard
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).

Link copied to clipboard
interface Value : SubscribableEvent

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

Properties

Link copied to clipboard
abstract val isAcknowledgement: Boolean

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

Link copied to clipboard
abstract val node: DatasyncNode

The data node watched by the notifying subscription.

Link copied to clipboard
abstract val subscription: Subscription

The Subscription instance that notifies this instance of SubscribableEvent.

Inheritors

Link copied to clipboard
Link copied to clipboard