跳过导航链接
A B C D E G H I K L M O P R S T U V W X 

A

addClient(Client) - 类 中的静态方法bee.cloud.service.chat.Live
 
addFriend(String, String) - 类 中的静态方法bee.cloud.service.chat.work.ImCache.UserCache
增加好友
addGroupAdmin(String) - 类 中的方法bee.cloud.service.chat.controller.GroupController
 
addGroupAdmin(String, String...) - 类 中的静态方法bee.cloud.service.chat.work.ImCache.GroupCache
增加群管理员
addGroupAdmin(String, String...) - 类 中的方法bee.cloud.service.chat.work.ImWork
 
addGroupUser(String) - 类 中的方法bee.cloud.service.chat.controller.GroupController
 
addGroupUser(String, String...) - 类 中的静态方法bee.cloud.service.chat.work.ImCache.GroupCache
增加群用户,或拉用户入群
addGroupUser(String, String...) - 类 中的方法bee.cloud.service.chat.work.ImWork
 
addOnlineCount() - 类 中的静态方法bee.cloud.service.chat.Live
 
addUserFriend() - 类 中的方法bee.cloud.service.chat.controller.UserController
 
addUserFriend(String, String) - 类 中的方法bee.cloud.service.chat.work.ImWork
 
appClients - 类 中的静态变量bee.cloud.service.chat.Live
APP客户端,

B

bee.cloud.service.chat - 程序包 bee.cloud.service.chat
 
bee.cloud.service.chat.bean - 程序包 bee.cloud.service.chat.bean
 
bee.cloud.service.chat.config - 程序包 bee.cloud.service.chat.config
 
bee.cloud.service.chat.controller - 程序包 bee.cloud.service.chat.controller
 
bee.cloud.service.chat.work - 程序包 bee.cloud.service.chat.work
 
BEE_CACHE_GROUP - 类 中的静态变量bee.cloud.service.chat.work.ImCache
redis缓存分组,默认为:im
BEE_CACHE_MSG_STORE_DAY - 类 中的静态变量bee.cloud.service.chat.work.ImCache
消息缓存放时间,int类型,单位为天,默认为:7
bm - 类 中的变量bee.cloud.service.chat.Client
 
broadcast(IM.Body) - 类 中的方法bee.cloud.service.chat.Chat
 

C

cache - 类 中的静态变量bee.cloud.service.chat.Client
 
cache() - 类 中的静态方法bee.cloud.service.chat.work.ImCache
 
cacheMsgStoreDay - 类 中的静态变量bee.cloud.service.chat.work.ImCache
消息缓存放时间,int类型,单位为天,默认为:7
changeGroupLeader(String, String) - 类 中的方法bee.cloud.service.chat.controller.GroupController
 
changeGroupLeader(String, String, String) - 类 中的静态方法bee.cloud.service.chat.work.ImCache.GroupCache
变更群主
changeGroupLeader(String, String, String) - 类 中的方法bee.cloud.service.chat.work.ImWork
 
Chat - bee.cloud.service.chat中的类
功能说明:
Chat() - 类 的构造器bee.cloud.service.chat.Chat
 
checkAdmin(String, String) - 类 中的静态方法bee.cloud.service.chat.work.ImCache.GroupCache
检查是否群管理员,群主也算管理员
checkLeader(String, String) - 类 中的静态方法bee.cloud.service.chat.work.ImCache.GroupCache
检查是否群主
Client - bee.cloud.service.chat中的类
功能说明:
Client() - 类 的构造器bee.cloud.service.chat.Client
 
client(String, IM.ORIGIN) - 类 中的静态方法bee.cloud.service.chat.Live
 
clients() - 类 中的静态方法bee.cloud.service.chat.Live
 
clients(String) - 类 中的静态方法bee.cloud.service.chat.Live
 
clients(IM.ORIGIN) - 类 中的静态方法bee.cloud.service.chat.Live
 
close(String) - 类 中的方法bee.cloud.service.chat.Chat
 
close() - 类 中的方法bee.cloud.service.chat.Client
 
CmdMsg - bee.cloud.service.chat.bean中的类
功能说明:
CmdMsg() - 类 的构造器bee.cloud.service.chat.bean.CmdMsg
 
CmdWork - bee.cloud.service.chat.work中的类
功能说明:命令处理
CmdWork() - 类 的构造器bee.cloud.service.chat.work.CmdWork
 
CmdWork.Cmd - bee.cloud.service.chat.work中的枚举
 

D

DefWork - bee.cloud.service.chat.work中的类
功能说明:默认消息服务功能处理实现类
DefWork() - 类 的构造器bee.cloud.service.chat.work.DefWork
 

E

execute(CmdMsg) - 类 中的静态方法bee.cloud.service.chat.work.CmdWork
 
exitGroup(String) - 类 中的方法bee.cloud.service.chat.controller.GroupController
 
exitGroup(String, String...) - 类 中的静态方法bee.cloud.service.chat.work.ImCache.GroupCache
退出群聊,退出群聊时会移出对应的管理员身份,如果是群主退群就等于解散群
exitGroup(String, String...) - 类 中的方法bee.cloud.service.chat.work.ImWork
 

G

getCache() - 类 中的方法bee.cloud.service.chat.Chat
 
getCurUserId() - 类 中的方法bee.cloud.service.chat.work.DefWork
 
getEndpointInstance(Class<T>) - 类 中的方法bee.cloud.service.chat.config.WebSocketConfig
初始化端点对象,也就是被@ServerEndpoint所标注的对象
getGroup() - 类 中的静态方法bee.cloud.service.chat.IMConsumer
 
getGroup(String) - 类 中的方法bee.cloud.service.chat.work.ImWork
 
getGroupInfo(String) - 类 中的方法bee.cloud.service.chat.controller.GroupController
 
getGroupInfo(String) - 类 中的静态方法bee.cloud.service.chat.work.ImCache.GroupCache
获取群信息
getGroupLeaderId(String) - 类 中的静态方法bee.cloud.service.chat.work.ImCache.GroupCache
获取群主ID
getGroupUser(String, String) - 类 中的方法bee.cloud.service.chat.controller.GroupController
 
getGroupUser(String, String) - 类 中的静态方法bee.cloud.service.chat.work.ImCache.GroupCache
获取群用户信息
getGroupUser(String, String) - 类 中的方法bee.cloud.service.chat.work.ImWork
 
getGroupUserIds(String) - 类 中的静态方法bee.cloud.service.chat.work.ImCache.GroupCache
 
getGroupUserIds(String) - 类 中的方法bee.cloud.service.chat.work.ImWork
 
getGroupUsers(String) - 类 中的方法bee.cloud.service.chat.controller.GroupController
 
getGroupUsers(String) - 类 中的静态方法bee.cloud.service.chat.work.ImCache.GroupCache
获取群中的用户列表
getGroupUsers(String) - 类 中的方法bee.cloud.service.chat.work.ImWork
 
getId() - 类 中的方法bee.cloud.service.chat.Client
 
getOnlineCount() - 类 中的方法bee.cloud.service.chat.Chat
 
getOnlineCount() - 类 中的静态方法bee.cloud.service.chat.Live
 
getTag() - 类 中的静态方法bee.cloud.service.chat.IMConsumer
 
getTopic() - 类 中的静态方法bee.cloud.service.chat.IMConsumer
 
getUserFriends() - 类 中的方法bee.cloud.service.chat.controller.UserController
 
getUserFriends(String) - 类 中的静态方法bee.cloud.service.chat.work.ImCache.UserCache
获取用户的好友列表
getUserFriends(String) - 类 中的方法bee.cloud.service.chat.work.ImWork
 
getUserGroup(String) - 类 中的静态方法bee.cloud.service.chat.work.ImCache.UserCache
获取用户所在分组
getUserGroups() - 类 中的方法bee.cloud.service.chat.controller.UserController
 
getUserGroups(String) - 类 中的方法bee.cloud.service.chat.work.ImWork
 
getUserInfo() - 类 中的方法bee.cloud.service.chat.controller.UserController
 
getUserInfo(String) - 类 中的方法bee.cloud.service.chat.controller.UserController
 
getUserInfo(String) - 类 中的静态方法bee.cloud.service.chat.work.ImCache.UserCache
获取用户基本信息
getUserInfo(String) - 类 中的方法bee.cloud.service.chat.work.ImWork
 
go() - 类 中的方法bee.cloud.service.chat.OnLineConsumer
 
go1() - 类 中的方法bee.cloud.service.chat.OnLineConsumer
 
GROUP_ADMIN_KEY - 类 中的静态变量bee.cloud.service.chat.work.ImCache.GroupCache
群管理员ID前缀,set类型
GROUP_INFO_KEY - 类 中的静态变量bee.cloud.service.chat.work.ImCache.GroupCache
群基本信息缓存前缀 Hash
GROUP_LEADER_KEY - 类 中的静态变量bee.cloud.service.chat.work.ImCache.GroupCache
群主缓存key,string类型
GROUP_PREFIX - 类 中的静态变量bee.cloud.service.chat.work.ImCache.GroupCache
群缓存前缀
GROUP_USER_KEY - 类 中的静态变量bee.cloud.service.chat.work.ImCache.GroupCache
群用户ID前缀,Hash类型
GROUP_USERID_KEY - 类 中的静态变量bee.cloud.service.chat.work.ImCache.GroupCache
群用户ID前缀,set类型
GroupCache() - 类 的构造器bee.cloud.service.chat.work.ImCache.GroupCache
 
GroupController - bee.cloud.service.chat.controller中的类
功能说明:消息分组api接口
GroupController() - 类 的构造器bee.cloud.service.chat.controller.GroupController
 

H

hasClient(String) - 类 中的方法bee.cloud.service.chat.Chat
 
hasClient(String) - 类 中的静态方法bee.cloud.service.chat.Live
 

I

ImCache - bee.cloud.service.chat.work中的类
功能说明:
ImCache() - 类 的构造器bee.cloud.service.chat.work.ImCache
 
ImCache.GroupCache - bee.cloud.service.chat.work中的类
 
ImCache.MsgCache - bee.cloud.service.chat.work中的类
 
ImCache.UserCache - bee.cloud.service.chat.work中的类
 
IMConsumer - bee.cloud.service.chat中的类
功能说明:
IMConsumer() - 类 的构造器bee.cloud.service.chat.IMConsumer
 
ImWork - bee.cloud.service.chat.work中的类
功能说明:默认消息服务功能处理,这里只操作缓存中的数据,持久化数据需要业务层实现, 如果业务需要用到缓存功能,需要在重写对应的方法后边调用父类对应的方法,如退出群聊方法后边调用“super.exit("群ID","用户ID")”
ImWork() - 类 的构造器bee.cloud.service.chat.work.ImWork
 

K

KEY_PREFIX - 类 中的静态变量bee.cloud.service.chat.work.ImCache
缓存KEY的前缀:im:*

L

Live - bee.cloud.service.chat中的类
功能说明:在线活动用户
Live() - 类 的构造器bee.cloud.service.chat.Live
 

M

maxBinarySize - 类 中的静态变量bee.cloud.service.chat.config.WebSocketConfig
 
maxTextSize - 类 中的静态变量bee.cloud.service.chat.config.WebSocketConfig
 
message(MsgBody) - 类 中的方法bee.cloud.service.chat.IMConsumer
 
message(List<MsgBody>) - 类 中的方法bee.cloud.service.chat.IMConsumer
 
message(MsgBody) - 类 中的方法bee.cloud.service.chat.OnLineConsumer
 
message(List<MsgBody>) - 类 中的方法bee.cloud.service.chat.OnLineConsumer
 
modifyHandshake(ServerEndpointConfig, HandshakeRequest, HandshakeResponse) - 类 中的方法bee.cloud.service.chat.config.WebSocketConfig
建立握手时,连接前的操作
mq - 类 中的静态变量bee.cloud.service.chat.Client
 
MSG_NEW_LIMIT_COUNT - 类 中的静态变量bee.cloud.service.chat.work.ImCache.MsgCache
获取最新消息时,显示最大量
MSG_USER_GROUP_KEY - 类 中的静态变量bee.cloud.service.chat.work.ImCache.MsgCache
群消息堆栈列表缓存键,保存对应消息发送群,默认保存7天,date格式为:yyyyMMdd
MSG_USER_READMSG_LASTTIME_GROUP_KEY - 类 中的静态变量bee.cloud.service.chat.work.ImCache.MsgCache
用户群聊最后读取时间,Hash表类型
MSG_USER_READMSG_LASTTIME_SINGLE_KEY - 类 中的静态变量bee.cloud.service.chat.work.ImCache.MsgCache
用户单聊最后读取时间,Hash表类型, 需要根据from与to两个用户的ID判断,hash值小的排在最前面
MSG_USER_SINGLE_KEY - 类 中的静态变量bee.cloud.service.chat.work.ImCache.MsgCache
用户消单聊息堆栈列表缓存键,默认保存7天,date格式为:yyyyMMdd
MsgCache() - 类 的构造器bee.cloud.service.chat.work.ImCache.MsgCache
 
MsgController - bee.cloud.service.chat.controller中的类
功能说明:消息服务类接口
MsgController() - 类 的构造器bee.cloud.service.chat.controller.MsgController
 

O

on - 类 中的变量bee.cloud.service.chat.Chat
 
on - 类 中的变量bee.cloud.service.chat.Client
 
onClose(Session) - 类 中的方法bee.cloud.service.chat.Client
连接关闭调用的方法
onError(Session, Throwable) - 类 中的方法bee.cloud.service.chat.Client
发生错误时候
OnLineConsumer - bee.cloud.service.chat中的类
功能说明:在线人数统计
OnLineConsumer() - 类 的构造器bee.cloud.service.chat.OnLineConsumer
 
onlineCount - 类 中的静态变量bee.cloud.service.chat.Live
静态变量,用来记录当前在线连接数。
onMessage(byte[], Session) - 类 中的方法bee.cloud.service.chat.Client
收到客户端消息后调用的方法,二进制流消息
onMessage(String, Session) - 类 中的方法bee.cloud.service.chat.Client
收到客户端消息后调用的方法,文本消息
onOpen(Session, String) - 类 中的方法bee.cloud.service.chat.Client
连接建立成功调用的方法
onStartup(ServletContext) - 类 中的方法bee.cloud.service.chat.config.WebSocketConfig
 
origin - 类 中的变量bee.cloud.service.chat.Client
客户端类型
otherServerOnlineCount - 类 中的静态变量bee.cloud.service.chat.Live
其他服务器中的在线人数,<服务器的SID, 在线人数>

P

padClients - 类 中的静态变量bee.cloud.service.chat.Live
平板客户端,
pcClients - 类 中的静态变量bee.cloud.service.chat.Live
PC客户端,
pullGroupMessage() - 类 中的方法bee.cloud.service.chat.controller.MsgController
 
pullGroupMessage(String, String, Date, boolean) - 类 中的静态方法bee.cloud.service.chat.work.ImCache.MsgCache
拉取聊聊历史消息,根据日期按天拉取
pullGroupMessage(String, String, Date, boolean) - 类 中的方法bee.cloud.service.chat.work.ImWork
 
pullNewMessage() - 类 中的方法bee.cloud.service.chat.controller.MsgController
 
pullNewMessage(String, Date) - 类 中的静态方法bee.cloud.service.chat.work.ImCache.MsgCache
拉取最新100条消息,先拉取单聊信息,再拉取群聊信息
pullNewMessage(String, Date) - 类 中的静态方法bee.cloud.service.chat.work.ImCache
拉取新消息,包括所有消息(群聊、个人),主要用于登录后第一次拉取消息
pullNewMessage(String, Date) - 类 中的方法bee.cloud.service.chat.work.ImWork
 
pullSingleMessage(boolean) - 类 中的方法bee.cloud.service.chat.controller.MsgController
 
pullSingleMessage(String, String, Date, boolean) - 类 中的静态方法bee.cloud.service.chat.work.ImCache.MsgCache
拉取单聊历史消息,根据日期按天拉取
pullSingleMessage(String, String, Date, boolean) - 类 中的方法bee.cloud.service.chat.work.ImWork
 

R

refreshOnline() - 类 中的方法bee.cloud.service.chat.OnLineConsumer
广播更新在线人数
relay(IM.Body) - 类 中的方法bee.cloud.service.chat.Chat
 
removeClient(Client) - 类 中的静态方法bee.cloud.service.chat.Live
 
removeFriend(String, String...) - 类 中的静态方法bee.cloud.service.chat.work.ImCache.UserCache
删除好友
removeGroup(String) - 类 中的方法bee.cloud.service.chat.controller.GroupController
 
removeGroup(String) - 类 中的静态方法bee.cloud.service.chat.work.ImCache.GroupCache
删除群、解离群,只有群主可操作
removeGroup(String) - 类 中的方法bee.cloud.service.chat.work.ImWork
 
removeGroupAdmin(String) - 类 中的方法bee.cloud.service.chat.controller.GroupController
 
removeGroupAdmin(String, String...) - 类 中的静态方法bee.cloud.service.chat.work.ImCache.GroupCache
删除群管理员
removeGroupAdmin(String, String...) - 类 中的方法bee.cloud.service.chat.work.ImWork
 
removeGroupUser(String) - 类 中的方法bee.cloud.service.chat.controller.GroupController
 
removeGroupUser(String, String...) - 类 中的静态方法bee.cloud.service.chat.work.ImCache.GroupCache
移动群用户,移出群用户时会移出对应的管理员,群主不能被移出群,只要将群主身份移交给其他人后才能退群
removeGroupUser(String, String...) - 类 中的方法bee.cloud.service.chat.work.ImWork
 
removeUserFriend() - 类 中的方法bee.cloud.service.chat.controller.UserController
 
removeUserFriend(String, String...) - 类 中的方法bee.cloud.service.chat.work.ImWork
 

S

saveGroup(IM.Group) - 类 中的方法bee.cloud.service.chat.work.ImWork
 
saveGroupInfo(String) - 类 中的方法bee.cloud.service.chat.controller.GroupController
 
saveGroupInfo(IM.Group) - 类 中的静态方法bee.cloud.service.chat.work.ImCache.GroupCache
保存群基本信息
saveGroupUser(String) - 类 中的方法bee.cloud.service.chat.controller.GroupController
 
saveGroupUser(String, IM.User) - 类 中的静态方法bee.cloud.service.chat.work.ImCache.GroupCache
保存群中用户信息
saveGroupUser(String, IM.User) - 类 中的方法bee.cloud.service.chat.work.ImWork
 
saveMessage(IM.Body) - 类 中的静态方法bee.cloud.service.chat.work.ImCache.MsgCache
将消息保存到缓存中,包括群聊与私聊的消息
saveMessage(IM.Body) - 类 中的方法bee.cloud.service.chat.work.ImWork
 
saveUserInfo() - 类 中的方法bee.cloud.service.chat.controller.UserController
 
saveUserInfo(IM.User) - 类 中的静态方法bee.cloud.service.chat.work.ImCache.UserCache
修改用户信息,只修改属性不为空的内容
saveUserInfo(IM.User) - 类 中的方法bee.cloud.service.chat.work.ImWork
 
send(IM.Body) - 类 中的方法bee.cloud.service.chat.Chat
 
send(String) - 类 中的方法bee.cloud.service.chat.Client
 
serverEndpointExporter() - 类 中的方法bee.cloud.service.chat.config.WebSocketConfig
 
session - 类 中的变量bee.cloud.service.chat.Client
与某个客户端的连接会话,需要通过它来给客户端发送数据
setGroupAdmin(String, Set<String>) - 类 中的静态方法bee.cloud.service.chat.work.ImCache.GroupCache
增加群管理员
setGroupAdmin(String, Set<String>) - 类 中的方法bee.cloud.service.chat.work.ImWork
 
setGroupUser(String, Set<String>) - 类 中的静态方法bee.cloud.service.chat.work.ImCache.GroupCache
增加群用户,或拉用户入群
setGroupUser(String, Set<String>) - 类 中的方法bee.cloud.service.chat.work.ImWork
 
subOnlineCount() - 类 中的静态方法bee.cloud.service.chat.Live
 

T

timestep - 类 中的静态变量bee.cloud.service.chat.OnLineConsumer
 

U

updateReadGroupLasttime() - 类 中的方法bee.cloud.service.chat.controller.MsgController
 
updateReadGroupLasttime(String, String) - 类 中的静态方法bee.cloud.service.chat.work.ImCache.MsgCache
更新群聊最后读取消息时间
updateReadGroupLasttime(String, String) - 类 中的方法bee.cloud.service.chat.work.ImWork
 
updateReadSingleLasttime() - 类 中的方法bee.cloud.service.chat.controller.MsgController
 
updateReadSingleLasttime(String, String) - 类 中的静态方法bee.cloud.service.chat.work.ImCache.MsgCache
更新单聊最后读取消息时间
updateReadSingleLasttime(String, String) - 类 中的方法bee.cloud.service.chat.work.ImWork
 
USER_FRIENDS_KEY - 类 中的静态变量bee.cloud.service.chat.work.ImCache.UserCache
用户好友列表缓存KEY,zset类型,只保存好友的用户ID
USER_GROUP_KEY - 类 中的静态变量bee.cloud.service.chat.work.ImCache.UserCache
用户所在群列表缓存KEY,zset类型,只保存群的ID
USER_INFO_KEY - 类 中的静态变量bee.cloud.service.chat.work.ImCache.UserCache
用户基本信息缓存KEY,Hash类型,存储IM.User对象基础属性
USER_PREFIX - 类 中的静态变量bee.cloud.service.chat.work.ImCache.UserCache
用户信息缓存前缀 Hash
UserCache() - 类 的构造器bee.cloud.service.chat.work.ImCache.UserCache
 
UserController - bee.cloud.service.chat.controller中的类
功能说明:IM中的用户管理,包括群用户,好友等
UserController() - 类 的构造器bee.cloud.service.chat.controller.UserController
 
userId - 类 中的变量bee.cloud.service.chat.Client
 
users - 类 中的静态变量bee.cloud.service.chat.Live
 

V

valueOf(String) - 枚举 中的静态方法bee.cloud.service.chat.work.CmdWork.Cmd
返回带有指定名称的该类型的枚举常量。
values() - 枚举 中的静态方法bee.cloud.service.chat.work.CmdWork.Cmd
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。

W

WebSocketConfig - bee.cloud.service.chat.config中的类
功能说明:开启webSocket
WebSocketConfig() - 类 的构造器bee.cloud.service.chat.config.WebSocketConfig
 
work - 类 中的变量bee.cloud.service.chat.Chat
 

X

xcxClients - 类 中的静态变量bee.cloud.service.chat.Live
小程序客户端,
A B C D E G H I K L M O P R S T U V W X 
跳过导航链接

Copyright © 2023. All rights reserved.