没有合适的资源?快使用搜索试试~ 我知道了~
spark_smack_openfire_讲解
4星 · 超过85%的资源 需积分: 9 7 下载量 185 浏览量
2013-03-19
17:56:54
上传
评论
收藏 1.35MB PPT 举报
温馨提示
试读
35页
Smack是一个为使用XMPP服务器聊天和发送即时消息交流而提供的库。 Smack的主要优势: 使用简单且拥有强大的API。向用户发送一条文本消息只需用一下三行代码即可完成 XMPPConnection connection = new XMPPConnection("jabber.org"); connection.login("mtucker", "password"); connection.createChat("jsmith@jivesoftware.com").sendMessage("Howdy!; 本文档将向你介绍Smack API,并大概介绍几个重要的类和概念。
资源推荐
资源详情
资源评论
Spark/Smack/Openfire
Spark/Smack/Openfire
Overview
Overview
程序启动过程
程序启动过程
-launch
-launch
Startup.start
unpackArchives
Unpack the plugin and library(all
end with “ .pack” ) in the
Plugins and lib directory
Create a instance
of spark and invoke
its startup method
get “User.home” from the System
property as the runtime directory
Load “ Spark.properties” as
the user settings
Locale,auto
login,etc.
add the resource directory to property
“java.library.path”
Create a new spark instance??
启动
启动
-login
-login
LoginDialog
Build UI
checkForOldSettings
LoginPanel if
user’ s setting is
autologin then
validate login
startSpark,
mainwindow
visible
启动
启动
-buildworkspace
-buildworkspace
Build
contactList(it is
a plugin but load
absolutely)
ConferenceServices(responsi
ble for the initial loading
of multiUser chat support)
剩余34页未读,继续阅读
资源评论
- qq_283701812015-06-04挺好,SPark启动流程讲得挺详细,后面smack和openfire较薄弱
gengshuaishishuaige
- 粉丝: 0
- 资源: 4
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功