public interface IServicerController
Modifier and Type | Method and Description |
---|---|
org.springframework.http.ResponseEntity<Object> |
catChat(javax.servlet.http.HttpSession httpSession,
String uid)
断开连接
|
org.springframework.http.ResponseEntity<Object> |
getMeScore(javax.servlet.http.HttpSession httpSession)
获取自己的评分
|
org.springframework.http.ResponseEntity<Object> |
getnewMsg(javax.servlet.http.HttpSession httpSession,
String uid)
获取所有与该用户的一条新消息
|
org.springframework.http.ResponseEntity<Object> |
getServiceInfo(javax.servlet.http.HttpSession session)
获取客服的信息
|
org.springframework.http.ResponseEntity<Object> |
isHaveNewMsg(javax.servlet.http.HttpSession httpSession)
查看是否有新消息
|
org.springframework.http.ResponseEntity<Object> |
joinChat(javax.servlet.http.HttpSession httpSession,
User user)
连接一个客户
|
org.springframework.http.ResponseEntity<Object> |
sendNewMsg(javax.servlet.http.HttpSession httpSession,
String uid,
ChatMessage chatMessage)
发送一条新消息
|
org.springframework.http.ResponseEntity<Object> |
setMeStatus(javax.servlet.http.HttpSession httpSession,
int newStatus)
设置客服状态
|
org.springframework.http.ResponseEntity<Object> isHaveNewMsg(javax.servlet.http.HttpSession httpSession)
httpSession
- org.springframework.http.ResponseEntity<Object> setMeStatus(javax.servlet.http.HttpSession httpSession, int newStatus)
httpSession
- newStatus
- 新状态代码org.springframework.http.ResponseEntity<Object> getMeScore(javax.servlet.http.HttpSession httpSession)
httpSession
- org.springframework.http.ResponseEntity<Object> joinChat(javax.servlet.http.HttpSession httpSession, User user)
httpSession
- user
- 客户的编号org.springframework.http.ResponseEntity<Object> getnewMsg(javax.servlet.http.HttpSession httpSession, String uid)
httpSession
- org.springframework.http.ResponseEntity<Object> sendNewMsg(javax.servlet.http.HttpSession httpSession, String uid, ChatMessage chatMessage)
httpSession
- chatMessage
- 新的消息org.springframework.http.ResponseEntity<Object> catChat(javax.servlet.http.HttpSession httpSession, String uid)
httpSession
- uid
- 被断开的用户idorg.springframework.http.ResponseEntity<Object> getServiceInfo(javax.servlet.http.HttpSession session)
session
- Copyright © 2019. All rights reserved.