public class LivechatChatLogPath extends Path<LinkedHashMap<String,ChatLog>>
Allows subscription to chat log broadcast updates and retrieval of the current chat event log. If there is nobody to listen this path it will not emit any broadcasts.
ChatLog
Modifier and Type | Class and Description |
---|---|
static class |
LivechatChatLogPath.ChatTimeoutReceiver
Receiver for chat session timeout event
|
Modifier and Type | Method and Description |
---|---|
int |
countMessages(ChatLog.Type... types)
Counts the number of messages of the specified
ChatLog.Type types in the chat log LivechatChatLogPath |
protected void |
finalize() |
LinkedHashMap<String,ChatLog> |
getData()
Gets the path data in it's current state
|
static LivechatChatLogPath |
getInstance()
Gets singleton instance of
LivechatChatLogPath |
broadcast, broadcast, isClearRequired, notifyObservers
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, setChanged
protected void finalize() throws Throwable
public static LivechatChatLogPath getInstance()
LivechatChatLogPath
public LinkedHashMap<String,ChatLog> getData()
Path
getData
in class Path<LinkedHashMap<String,ChatLog>>
public int countMessages(ChatLog.Type... types)
ChatLog.Type
types in the chat log LivechatChatLogPath
types
- of the chat log messages to count