@Service(value="servicerCommService") public class ServicerCommServiceImpl extends Object implements IServicerCommService
Constructor and Description |
---|
ServicerCommServiceImpl() |
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也包装下),发送一条消息
|
public void joinChat(Servicer servicer, Chat chat)
joinChat
in interface IServicerCommService
servicer
- chat
- public ChatMessage getNewMsg(Chat chat) throws Exception
getNewMsg
in interface IServicerCommService
chat
- Exception
public void sendMsg(Servicer servicer, Chat chat, ChatMessage chatMessage) throws Exception
sendMsg
in interface IServicerCommService
servicer
- 客服chat
- 用户的会话chatMessage
- 消息Exception
Copyright © 2019. All rights reserved.