public class LivechatChatLogPath extends Path<java.util.LinkedHashMap<java.lang.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 |
java.util.LinkedHashMap<java.lang.String,ChatLog> |
getData()
Gets the path data in it's current state
|
static LivechatChatLogPath |
getInstance()
Gets singleton instance of
LivechatChatLogPath |
broadcast, broadcast, finalize, isClearRequired, notifyObservers, trigger
public static LivechatChatLogPath getInstance()
LivechatChatLogPath
public java.util.LinkedHashMap<java.lang.String,ChatLog> getData()
Path
public int countMessages(ChatLog.Type... types)
ChatLog.Type
types in the chat log LivechatChatLogPath
types
- of the chat log messages to count