Channel
Functions
applyStatus applies the channel status into this channel counter.
getActorID returns the actor ID of this channel counter.
getSessionCount returns the current online session count value.
getSessionId returns the session ID from the server.
getStatus returns the status of this channel counter.
hasLocalChanges returns whether this channel has local changes or not. Channel is server-managed, so it always returns false.
isAttached returns whether this channel counter is attached or not.
publish publishes an event to all registered handlers.
setSessionId sets the session ID from the server, or clears it with null so the next refresh runs as a first call. SDK-internal use.
updateCount updates the session count and sequence number if the sequence is newer. Returns true if the session count was updated, false if the update was ignored.
updateSessionCount updates the session count and sequence number if the sequence is newer. Returns true if the session count was updated, false if the update was ignored.