Package | Description |
---|---|
org.jim.common.message | |
org.jim.common.packets | |
org.jim.common.utils | |
org.jim.server.command.handler.processor.chat | |
org.jim.server.helper.db | |
org.jim.server.helper.redis |
Modifier and Type | Method and Description |
---|---|
void |
IMesssageHelper.writeMessage(String timelineTable,
String timelineId,
ChatBody chatBody)
消息持久化写入
|
Modifier and Type | Method and Description |
---|---|
ChatBody |
ChatBody.setChatType(Integer chatType) |
ChatBody |
ChatBody.setContent(String content) |
ChatBody |
ChatBody.setFrom(String from) |
ChatBody |
ChatBody.setGroup_id(String group_id) |
ChatBody |
ChatBody.setMsgType(Integer msgType) |
ChatBody |
ChatBody.setTo(String to) |
Modifier and Type | Method and Description |
---|---|
Map<String,List<ChatBody>> |
UserMessageData.getFriends() |
Map<String,List<ChatBody>> |
UserMessageData.getGroups() |
Modifier and Type | Method and Description |
---|---|
void |
UserMessageData.setFriends(Map<String,List<ChatBody>> friends) |
void |
UserMessageData.setGroups(Map<String,List<ChatBody>> groups) |
Modifier and Type | Method and Description |
---|---|
static ChatBody |
ChatKit.parseChatBody(String bodyStr)
判断是否属于指定格式聊天消息;
|
static ChatBody |
ChatKit.toChatBody(byte[] body,
org.tio.core.ChannelContext channelContext)
转换为聊天消息结构;
|
Modifier and Type | Method and Description |
---|---|
void |
DefaultChatProcessor.doHandler(ChatBody chatBody,
org.tio.core.ChannelContext channelContext) |
abstract void |
AbstractChatProcessor.doHandler(ChatBody chatBody,
org.tio.core.ChannelContext channelContext) |
Modifier and Type | Method and Description |
---|---|
void |
MysqlMessageHelper.writeMessage(String timelineTable,
String timelineId,
ChatBody chatBody) |
Modifier and Type | Method and Description |
---|---|
void |
RedisMessageHelper.writeMessage(String timelineTable,
String timelineId,
ChatBody chatBody) |
Modifier and Type | Method and Description |
---|---|
UserMessageData |
RedisMessageHelper.putFriendsHistoryMessage(UserMessageData userMessage,
List<ChatBody> messages,
String friendId)
放入用户好友历史消息;
|
UserMessageData |
RedisMessageHelper.putFriendsMessage(UserMessageData userMessage,
List<ChatBody> messages)
放入用户好友消息;
|
UserMessageData |
RedisMessageHelper.putGroupMessage(UserMessageData userMessage,
List<ChatBody> messages)
放入用户群组消息;
|
Copyright © 2018. All rights reserved.