Document Exchange Protocol 2 (DEP2)

Petr Pytelka

Karel Žáček


Table of Contents

1. Introduction
2. Changes
1. Changes 2006-04-25
2. Changes 2006-12-18
3. Changes 2007-03-28
4. Changes 2007-07-26
5. Changes 2007-10-02
6. Changes 2007-10-09
7. Changes 2007-10-18
8. Changes 2007-10-22
9. Changes 2007-11-07
10. Changes 2008-06-24
11. Changes 2009-02-17
12. Changes 2009-07-14
13. Changes 2009-07-21
14. Changes 2009-09-14
3. Basic Structure
4. Frame Type 0
1. Method Response
2. Hello
3. Authorization
3.1. authorize
3.2. authorize2
4. Connection State
5. Objects
6. Documents
6.1. Structure Document
6.2. Push Document
6.3. Get Document
6.4. Save Document
6.5. Remove Document
7. Files
7.1. Request File
7.2. Failed File Request
7.3. Configuration Request
7.4. Configuration Request 2 (update configuration)
7.5. Failed Config Request
8. Tasks
8.1. List of Tasks
8.2. Task Request
9. Folders
9.1. Open Folder
9.2. Close Folder
9.3. Notifications
9.4. Rename Folder
9.5. Add Document to Folder
9.6. Move Item
9.7. Remove Folder
10. Disconnect
5. Frame Type 1
1. File Attributes
6. Frame Type 2
7. Testing packet
8. Channel support
1. Example
9. Example of communication
10. Implementation

List of Tables

3.1. Structure of the Frame
4.1. hello, parameters
4.2. authorize, parameters
4.3. authorize, List of Error Codes
4.4. authorize parameters
4.5. authentication methods
4.6. Set State, possible values
4.7. pushDocument, parameters
4.8. getDocument, parameters
4.9. errorReceivedDocument parameters
4.10. reason, list of error codes
4.11. errorReceivedDocument parameters
4.12. reason, list of error codes
4.13. pushDocument, parameters
4.14. requestConfig, parameters
4.15. requestConfig2, parameters
4.16. errorRequestConfig, parameters
4.17. flag, List of tasks
4.18. disconnect, parameters
5.1. Frame type 1, structure
5.2. Frame, type 1, late attributes
5.3. Additional file attributes
6.1. Description of Frame, type 2
8.1. Packet with Channel Support
9.1. Example of Authorization and pushDocument
9.2. Example of Document Save Operation

List of Examples

4.1. Example of method call in XMLRPC
4.2. SaveDocument structure definition
4.3. requestConfig2 example
5.1. Example of File Attributes