4. 即时消息 ................................................................................................................................. 35
4.1 IM ............................................................................................................................ 35
4.2 聊天会话 ................................................................................................................. 36
4.3 你在吗?聊天状态通告 ......................................................................................... 37
4.4 格式化消息 ............................................................................................................. 40
4.5 vCard ....................................................................................................................... 41
4.6 阻止和过滤通讯 ..................................................................................................... 42
4.6.1 阻止:一个简单方法 ..................................................................................... 43
4.6.2 高级阻止和过滤 ............................................................................................. 44
4.7 更多的消息扩展 ..................................................................................................... 45
4.8 总结 ......................................................................................................................... 45
5. 发现世界 ................................................................................................................................. 46
5.1 物品和信息 ............................................................................................................. 46
5.2 使用服务器和服务进行服务发现 ......................................................................... 48
5.3 使用客户进行服务发现 ......................................................................................... 51
5.3.1 明确的服务发现 ............................................................................................. 51
5.3.2 实体能力:服务快速发现 ............................................................................. 53
5.4 综述 ......................................................................................................................... 54
6. 数据表单 ................................................................................................................................. 55
6.1 基本结构 ................................................................................................................. 55
6.2 使用数据表单 ......................................................................................................... 57
6.3 Defining your terms:Form types ........................................................................... 59
6.4 数据表单中包含多媒体 ......................................................................................... 59
6.5 总结 ......................................................................................................................... 60
7. 多方通讯互动 ......................................................................................................................... 61
7.1 开始聚会 ................................................................................................................. 61
7.2 群聊基础 ................................................................................................................. 62
7.3 人群控制 ................................................................................................................. 65
7.4 昵称的意义? ......................................................................................................... 68
7.5 配置相关任务! ..................................................................................................... 70
7.6 隐私,安全,和所有这些事情 ............................................................................. 73
7.7 MUC 作为数据传输 ................................................................................................ 74
7.8 综述 ......................................................................................................................... 75
8. 发布/订阅 ............................................................................................................................... 76
8.1 Why it matters ......................................................................................................... 76
8.2 入门 ......................................................................................................................... 77
8.3 订阅 ......................................................................................................................... 78
8.4 发布和接收通告 ..................................................................................................... 81
8.5 Payloads: To send or not to send? ........................................................................... 82
8.6 Items:To store or not to store? ............................................................................. 83
8.7 发现节点 ................................................................................................................. 84
8.8 节点管理 ................................................................................................................. 87
8.8.1 创建和删除节点 ............................................................................................. 87
8.8.2 配置节点 ......................................................................................................... 88