Package io.ably.lib.liveobjects.instance
package io.ably.lib.liveobjects.instance
The identity-addressed view of the LiveObjects graph.
Instance wraps a specific resolved
LiveObject or primitive value and dereferences it in O(1), following the
object wherever it sits in the graph. Type-specific operations live on the
sub-types in io.ably.lib.liveobjects.instance.types; instance
subscriptions use InstanceListener and
InstanceSubscriptionEvent.
Spec: RTINS1-RTINS16, RTTS7-RTTS9
-
InterfacesClassDescriptionA direct-reference view of a single resolved LiveObject (
LiveMaporLiveCounter) or primitive value.Listener interface for instance subscriptions created viaLiveMapInstance.subscribe(InstanceListener)orLiveCounterInstance.subscribe(InstanceListener).Event delivered toInstanceListener.onUpdated(InstanceSubscriptionEvent)when the LiveObject wrapped by a subscribedLiveMapInstanceorLiveCounterInstanceis updated.