- 1,集成:建议使用pod方式进行集成,因为我直接从github下载集成的时候总是报错
- 2,框架分析:(github官方文档,非常经典)
XEPs
XMPP Extension Protocols (XEPs) are standardized extensions to the Extensible Messaging and Presence Protocol (XMPP).
XMPPFramework Supported XEPs
- XEP-0009: Jabber-RPC
- XEP-0012: Last Activity
- XEP-0016: Privacy Lists
- XEP-0045: Multi-User Chat
- XEP-0054: vcard-temp
- XEP-0059: Result Set Management
- XEP-0060: Publish-Subscribe
- XEP-0065: SOCKS5 Bytestreams
- XEP-0066: Out of Band Data
- XEP-0082: XMPP Date and Time Profiles
- XEP-0085: Chat State Notifications
- XEP-0092: Software Version
- XEP-0100: Gateway Interaction
- XEP-0106: JID Escaping
- XEP-0115: Entity Capabilities
- XEP-0153: vCard-Based Avatars
- XEP-0172: User Nickname
- XEP-0174: Serverless Messaging
- XEP-0184: Message Delivery Receipts
- XEP-0199: XMPP Ping
- XEP-0202: Entity Time
- XEP-0203: Delayed Delivery
- XEP-0223: Persistent Storage of Private Data via PubSub
- XEP-0224: Attention
- XEP-0297: Stanza Forwarding
- XEP-0308: Last Message Correction
- XEP-0313: Message Archive Management
- XEP-0333: Chat Markers
- XEP-0335: JSON Containers
- XEP-0357: Push Notifications
- XEP-0363: HTTP File Upload
- XEP-xxxx: Multi-User Chat Light
XMPPFramework Partially Supported XEPs
- XEP-0136: Message Archiving
XMPPFramework Supported Proprietary XEPs
- Google Shared Status
- System Inactivity Monitor - for auto-idle support and more.
XMPP中使用的第三方框架:
1,CocoaLumberjack:日志框架,调试的时候打印输出
2,CocoaAsyncSocket:底层网络框架,实现异步Socket网络通讯
3,KissXML:XML解析框架
XMPP自身其他模块:
XEP-0004: 数据表单
XEP-0016: 隐私列表
XEP-0030:服务发现
XEP-0048: 书签
XEP-0045: 多用户聊天
XEP-0054:电子名片
XEP-0060: 发布-订阅
XEP-0065: SOCKS5字节流
XEP-0077:带内注册
XEP-0079: 高级消息处理
XEP-0084: 用户头像
XEP-0085: 聊天状态通知
XEP-0096: 文件传输
XEP-0114: Jabber组件协议
XEP-0115: 实体能力
XEP-0124: 基于同步HTTP的双向流
XEP-0128: 发现服务扩展
XEP-0134: XMPP设计准则
XEP-0138: 流压缩
XEP-0143: XMPP扩展协议写作指南
XEP-0144 :名册条目交换
XEP-0147: XMPP URI Scheme查询组件
XEP-0153: 基于电子名片的头像
XEP-0166 Jingle
XEP-0172: 用户昵称
XEP-0184: 消息送达
CoreDataStorage: 数据存储
Reconnect:重新连接
Roster:花名册
- 更加详细的信息部分参考这篇文章:XMPP备忘笔记http://www.jianshu.com/p/c4d598590327