Package zendesk.chat.client
Class ChatStateStore
- java.lang.Object
-
- zendesk.chat.client.Observable<ChatState>
-
- zendesk.chat.client.ChatStateStore
-
public class ChatStateStore extends Observable<ChatState> implements Observer<ChatState>
Source of truth for the local chat state.This class builds up a local representation of the chat state based on: - updating remote logs in the
DataNode
- inserted and/or removed local logs
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description void
update(ChatState chatState)
Called when an observable object has been updated.-
Methods inherited from class zendesk.chat.client.Observable
addObserver, get, removeObserver, set
-
-