LongTermSubscription

class LongTermSubscription : SubscriptionImpl

Represents a long term subscription to data events on data nodes of the ServerlessDb service.

See also

Properties

Link copied to clipboard

Context associated with this LongTermSubscription.

Link copied to clipboard

Encryption key identifier associated with this LongTermSubscription if notifications are ciphered.

Link copied to clipboard

Encryption method associated with this LongTermSubscription if notifications are ciphered.

Link copied to clipboard

Expiration date of this LongTermSubscription acknowledged by the Webcom back end.

Link copied to clipboard
val id: String

Identifier of this LongTermSubscription.

Link copied to clipboard

Data path associated with this LongTermSubscription.

Link copied to clipboard

Start date of this LongTermSubscription.

Functions

Link copied to clipboard
open override fun cancel(callback: WebcomDoneCallback?)

Cancels asynchronously this Subscription, meaning that the associated channel is released and will be no longer be notified.

Link copied to clipboard
fun <T : SubscribableEvent> update(event: KClass<T>, callback: WebcomResultCallback<LongTermSubscription>? = null)

Updates the descriptor of data events watched by this subscription.