Package io.ably.lib.liveobjects.message
package io.ably.lib.liveobjects.message
User-facing object message metadata, delivered to subscription listeners so
that user code can inspect the operation that triggered an object change.
ObjectMessage is the single entry point
of this package; every other type is reached by walking its properties:
ObjectMessage (delivered in subscription events)
└── getOperation() → ObjectOperation
├── getAction() → ObjectOperationAction (enum)
├── getMapCreate() → MapCreate
│ ├── getSemantics() → ObjectsMapSemantics (enum)
│ └── getEntries() → Map<String, ObjectsMapEntry>
│ └── getData() → ObjectData
├── getMapSet() → MapSet ── getValue() → ObjectData
├── getMapRemove() → MapRemove
├── getCounterCreate() → CounterCreate
├── getCounterInc() → CounterInc
├── getObjectDelete() → ObjectDelete (empty)
└── getMapClear() → MapClear (empty)
Spec: PAOM1-PAOM3, PAOOP1-PAOOP3
-
ClassDescriptionPayload of a
ObjectOperationAction.COUNTER_CREATEoperation, describing the initial state of the createdLiveCounterobject.Payload of aObjectOperationAction.COUNTER_INCoperation, describing an amount by which aLiveCounterobject is incremented.Payload of aObjectOperationAction.MAP_CLEARoperation.Payload of aObjectOperationAction.MAP_CREATEoperation, describing the initial state of the createdLiveMapobject.Payload of aObjectOperationAction.MAP_REMOVEoperation, describing a key being removed from aLiveMapobject.Payload of aObjectOperationAction.MAP_SEToperation, describing a key being set on aLiveMapobject.Represents a value in an object on a channel.Payload of anObjectOperationAction.OBJECT_DELETEoperation.The user-facing representation of an inbound object message that carried an operation.The user-facing representation of an operation applied to an object on a channel.The action of anObjectOperation, defining the type of operation that was applied to an object on a channel.Represents the value at a given key in aLiveMapobject.The conflict-resolution semantics used by aLiveMapobject.