终篇,三天所学所用,也就这些,如果需要大家要自己去查资料研究研究,功能其实可以很强大的
可惜界面做得不好,一大短处,从大一迄今没整好,主要是个人审美不行,哎
毕业季呀毕业季,明天摆摊卖书,再半月就可能和生活四年的兄弟姐妹说再见,考研考公务员工作的,各奔东西了,我也将南下杭州
感慨,天下无不散之筵席
在此祝所有刚毕业的,学业事业有成吧
不废话了,貌似最近太感性了,理科男,伤不起呀
1.离线消息
openfire本身是支持离线消息的,不需要进行额外处理,可以用spark测试下
使用smack,其实他提供了相应的方法
Class OfflineMessageManager
可以看下描述
The OfflineMessageManager helps manage offline messages even before the user has sent an available presence. When a user asks for his offline messages before sending an available presence then the server will not send a flood with all the offline messages when the user becomes online. The server will not send a flood with all the offline messages to the session that made the offline messages requ