Package io.ably.lib.liveobjects.path
package io.ably.lib.liveobjects.path
The path-addressed view of the LiveObjects graph.
PathObject stores a path from the channel's
root LiveMap and re-resolves it lazily on every call, so a reference
survives object replacement at its path. Type-specific operations live on the
sub-types in io.ably.lib.liveobjects.path.types; path-based subscriptions
use PathObjectListener,
PathObjectSubscriptionEvent and
PathObjectSubscriptionOptions.
Spec: RTPO1-RTPO19, RTTS3-RTTS5
-
ClassDescriptionA lazy, path-based reference into the LiveObjects graph rooted at the channel's root
LiveMap.Listener interface for path-based subscriptions created viaPathObject.subscribe(PathObjectListener)orPathObject.subscribe(PathObjectListener, PathObjectSubscriptionOptions).Event delivered toPathObjectListener.onUpdated(PathObjectSubscriptionEvent)when a change affects the subscribed path.Optional subscription options accepted byPathObject.subscribe(PathObjectListener, PathObjectSubscriptionOptions).