@Service(value="centerCommService") public class CenterCommServiceImpl extends Object implements ICenterCommService
Constructor and Description |
---|
CenterCommServiceImpl() |
Modifier and Type | Method and Description |
---|---|
void |
forceCutChat(Chat chat)
强行 切断 客户中心的 一个会话,设置其为 切断状态,并移除队列
|
List<Chat> |
getAllChating()
获取 客服中心,所有正在chat的chat
|
List<Chat> |
getAllRequestChat()
获取 客服中心 所有 未被连接的用户会话
|
List<ChatMessage> |
getChatAllMsg(Chat chat)
获取该 system中的 某chat的所有聊天记录
|
boolean |
isHaveNewRequest()
客服中心 是否还有 未连接的用户会话
|
public boolean isHaveNewRequest()
isHaveNewRequest
in interface ICenterCommService
public List<Chat> getAllRequestChat()
getAllRequestChat
in interface ICenterCommService
public void forceCutChat(Chat chat) throws Exception
forceCutChat
in interface ICenterCommService
chat
- 带切断的会话Exception
public List<Chat> getAllChating()
getAllChating
in interface ICenterCommService
public List<ChatMessage> getChatAllMsg(Chat chat) throws Exception
getChatAllMsg
in interface ICenterCommService
chat
- Exception
Copyright © 2019. All rights reserved.