LongTermSubscription

class LongTermSubscription : SubscriptionImpl

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

See also

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.

Properties

Link copied to clipboard
val context: String

Context associated with this LongTermSubscription.

Link copied to clipboard
val encryptionKeyId: String?

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

Link copied to clipboard
val encryptionMethod: CryptoMethod?

Encryption method associated with this LongTermSubscription if notifications are ciphered.

Link copied to clipboard
val expirationDate: Date

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
val path: String

Data path associated with this LongTermSubscription.

Link copied to clipboard
val startDate: Date

Start date of this LongTermSubscription.