Cognition of the agsXMPP
来源:互联网 发布:js代码格式化 编辑:程序博客网 时间:2024/04/29 05:13
What the XMPP protocol depict ,In fact, it is totally the exchange of the XML datas between the client and server. Using the object-oriented thinking to describe the XML fragments as Jabber packets is the common way. I had read some open source projects about jabber both in C# and Java, The designers think in the same way. So is the structure. They just like carving from the same template.
When the Socket receives data from the sender, it all pushes to the StreamParser. Then,StreamParser parses the data。The method of parsing uses the mind of compiler construction principles,describing the keywords as the enumeration of the tokens. I think it will be faster than comparing strings.
As the process of parsing, the StreamParser will trigger the following four events.
1.streamParser_OnStreamStart
2.streamParser_OnStreamEnd
3.streamParser_OnStreamElement
4.streamParser_OnStreamError
- Cognition of the agsXMPP
- The primary cognition of Testing(make up the number or the amount)
- Deep cognition of testing 1
- Deep cognition of testing 2
- Cognition & The Intrinsic User Experience
- agsxmpp
- agsXMPP分析:agsXMPP简要指南 (转)
- agsXMPP Software Design
- agsXMPP的了解
- agsXMPP连接错误修改
- agsxmpp client 连接openfire
- agsXMPP 实现原理
- C#+IM+agsXMPP
- 创建基于agsXMPP的实例
- Powerset vs Cognition: 语义搜索对决
- Powerset vs Cognition: 语义搜索对决
- The area of the union of circles
- The Scar of the Sky
- 一步一步学Remoting之四:承载方式
- 体验一:感受“服从,没有任何接口”
- C#中 const 和 readonly 的区别
- 折半查找
- 一步一步学Remoting之五:异步操作
- Cognition of the agsXMPP
- 二叉排序树上的查找
- 基于位操作的类CBitBuffer
- 一步一步学Remoting之六:事件
- C#中结构与类的区别
- 初识RAID~
- 联邦-数据库互操作性,继续大胆尝试第 2 部分
- 千金易得,知己难求
- 《男人上路》观后感