Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请问是否支持推送离线消息? #109

Open
gongshsh opened this issue Oct 10, 2020 · 2 comments
Open

请问是否支持推送离线消息? #109

gongshsh opened this issue Oct 10, 2020 · 2 comments

Comments

@gongshsh
Copy link

No description provided.

@yzecho
Copy link

yzecho commented Oct 19, 2020

同问,目前关于离线消息推送的实现,个人的想法是检查到client未在线的状态的情况,将消息push到MQ,等client上线之后(检测到上线状态),异步pull/push到client

@AranAndroid009
Copy link

@yzecho 我感觉不需要吧
a.CIMServer的sendMsg()方法 if (null == socketChannel) 的时候持久化一下数据
b.上线时候在SimpleChannelInboundHandler的channelRead0()方法中处理

Repository owner deleted a comment from skiffer-git Jul 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants