跳转到主要内容

基于Twisted的SyncML 1.1服务器。

项目描述

有限的SyncML 1.1服务器。仅实现“仅从客户端刷新同步”。

根据文档(第6.3节)

The 'refresh sync from client only' is a synchronization type in
which the client sends all its data from a database to the server
(i.e., exports). The server is expected to replace all data in the
target database with the data sent by the client. I.e., this means
that the client overwrites all data in the server database.

SyncML会话的阶段

  • Pkg #1 客户初始化包

  • Pkg #2 服务器初始化包

  • Pkg #3 客户端修改

  • Pkg #4 服务器修改

  • Pkg #5 数据id映射

  • Pkg #6 映射状态

初始化包通常包含以下信息

  • 设备功能

  • 请求的数据库访问,所需同步的类型

  • 身份验证信息

  • 同步锚点

修改包通常包含以下信息

  • 同步命令:添加、替换、删除、移动...

  • 与这些命令相关联的数据id和内容(删除除外)

映射包(仅由客户端发送)通常包含以下信息

  • 映射信息(每个新添加的项目的一对LUID和GUID)

travis coveralls

$ virtualenv ve
(ve)$ pip install -e .
(ve)$ twistd txsyncml --help

项目详情


下载文件

下载适合您平台的文件。如果您不确定选择哪个,请了解更多关于安装包的信息。

源代码分发

txsyncml-0.0.1.tar.gz (10.2 kB 查看哈希值)

上传于 源代码

支持者