public interface IServicerCommService
Modifier and Type | Method and Description |
---|---|
void |
catChat(Servicer servicer,
Chat chat)
需求:一个客服,断开 一个用户,的会话
|
ChatMessage |
getNewMsg(Chat chat)
返回客服,此会话的一条新消息
|
void |
joinChat(Servicer servicer,
Chat chat)
一个客服接入一个通讯
|
void |
sendMsg(Servicer servicer,
Chat chat,
ChatMessage chatMessage)
需求:一个客服,给一个用户的会话(其实前期设计的时候应该给User也包装下),发送一条消息
|
ChatMessage getNewMsg(Chat chat) throws Exception
chat
- Exception
void sendMsg(Servicer servicer, Chat chat, ChatMessage chatMessage) throws Exception
servicer
- 客服chat
- 用户的会话chatMessage
- 消息Exception
Copyright © 2019. All rights reserved.