Documentation

Horde_SyncMl
in package

Copyright 2005-2017 Horde LLC (http://www.horde.org/)

See the enclosed file LICENSE for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.

Tags
author

Karsten Fourmont karsten@horde.org

Table of Contents

ALERT_DISPLAY  = 100
ALERT_NEXT_MESSAGE  = 222
ALERT_NO_END_OF_DATA  = 223
ALERT_ONE_WAY_FROM_CLIENT  = 202
ALERT_ONE_WAY_FROM_CLIENT_BY_SERVER  = 207
ALERT_ONE_WAY_FROM_SERVER  = 204
ALERT_ONE_WAY_FROM_SERVER_BY_SERVER  = 209
ALERT_REFRESH_FROM_CLIENT  = 203
ALERT_REFRESH_FROM_CLIENT_BY_SERVER  = 208
ALERT_REFRESH_FROM_SERVER  = 205
ALERT_REFRESH_FROM_SERVER_BY_SERVER  = 210
ALERT_RESULT_ALERT  = 221
ALERT_RESUME  = 225
ALERT_SLOW_SYNC  = 201
ALERT_SUSPEND  = 224
ALERT_TWO_WAY  = 200
ALERT_TWO_WAY_BY_SERVER  = 206
CONFIG_DELETE_MAP_ON_ANCHOR_MISMATCH_SLOWSYNC  = alse
If true the client uid<->server uid map will be deleted when a SlowSync is done due to an anchor mismatch. An anchor mismatch may happen if a session terminates unexpectedly.
CONFIG_DELETE_MAP_ON_REQUESTED_SLOWSYNC  = rue
If true the client uid<->server uid map will be deleted when a SlowSync is requested.
MIME_ICALENDAR  = 'text/calendar'
MIME_MESSAGE  = 'text/message'
MIME_SYNCML_DEVICE_INFO_WBXML  = 'application/vnd.syncml-devinf+wbxml'
MIME_SYNCML_DEVICE_INFO_XML  = 'application/vnd.syncml-devinf+xml'
MIME_SYNCML_RELATIONAL_OBJECT  = 'application/vnd.syncml-xrelational'
MIME_SYNCML_WBXML  = 'application/vnd.syncml+wbxml'
MIME_SYNCML_XML  = 'application/vnd.syncml+xml'
MIME_SYNCML_XML_BOOKMARK  = 'application/vnd.syncml-xbookmark'
MIME_SYNCML_XML_EMAIL  = 'application/vnd.syncml-xmsg'
MIME_TEXT_PLAIN  = 'text/plain'
MIME_VCALENDAR  = 'text/x-vcalendar'
MIME_VCARD_V21  = 'text/x-vcard'
MIME_VCARD_V30  = 'text/vcard'
MIME_XML_ICALENDAR  = 'application/vnd.syncml-xcal'
MSG_CHUNK_LEN  = 180
Estimated size of an empty chunk when when splitting a message, including MoreData tag.
MSG_DEFAULT_LEN  = 1000
Standard size for a complete but empty SyncML message. Used in estimating the size for a message.
MSG_TRAILER_LEN  = 150
The "safety margin" for the closing tags when finishing a message.
NAME_SPACE_URI_DEVINF  = 'syncml:devinf'
NAME_SPACE_URI_DEVINF_1_1  = 'syncml:devinf'
NAME_SPACE_URI_DEVINF_1_2  = 'syncml:devinf'
NAME_SPACE_URI_METINF  = 'syncml:metinf'
NAME_SPACE_URI_METINF_1_1  = 'syncml:metinf'
NAME_SPACE_URI_METINF_1_2  = 'syncml:metinf'
NAME_SPACE_URI_SYNCML  = 'syncml:syncml'
NAME_SPACE_URI_SYNCML_1_1  = 'syncml:syncml1.1'
NAME_SPACE_URI_SYNCML_1_2  = 'syncml:syncml1.2'
RESPONSE_ACCEPTED_FOR_PROCESSING  = 202
RESPONSE_ATOMIC_ROLL_BACK_OK  = 216
RESPONSE_AUTHENTICATION_ACCEPTED  = 212
RESPONSE_BAD_REQUEST  = 400
RESPONSE_CHUNKED_ITEM_ACCEPTED_AND_BUFFERED  = 213
RESPONSE_COMMAND_FAILED  = 500
RESPONSE_CONFILCT_RESOLVED_WITH_DUPLICATE  = 209
RESPONSE_CONFLICT_RESOLVED_WITH_CLIENT_WINNING  = 208
RESPONSE_CONFLICT_RESOLVED_WITH_MERGE  = 207
RESPONSE_CREDENTIALS_MISSING  = 407
RESPONSE_DELETE_WITHOUT_ARCHIVE  = 210
RESPONSE_IN_PROGRESS  = 101
RESPONSE_INVALID_CREDENTIALS  = 401
RESPONSE_ITEM_ADDED  = 201
RESPONSE_ITEM_NO_DELETED  = 211
RESPONSE_MULTIPLE_CHOICES  = 300
RESPONSE_NO_CONTENT  = 204
RESPONSE_NO_EXECUTED  = 215
RESPONSE_NONAUTHORIATATIVE_RESPONSE  = 203
RESPONSE_NOT_FOUND  = 404
RESPONSE_OK  = 200
RESPONSE_OPERATION_CANCELLED  = 214
RESPONSE_PARTIAL_CONTENT  = 206
RESPONSE_REFRESH_REQUIRED  = 508
RESPONSE_REQUEST_SIZE_TOO_BIG  = 416
RESPONSE_RESET_CONTENT  = 205
RESPONSE_SIZE_MISMATCH  = 424
RESPONSE_SIZE_REQUIRED  = 411
RESPONSE_USE_PROXY  = 305
SERVER_MAXMSGSIZE  = 1000000000
Maximum size for one sync message as defined by SyncML protocol spec.
SERVER_MAXOBJSIZE  = 1000000000
Maximum Size of a data object. Currently global for all databases.

Constants

ALERT_DISPLAY

public mixed ALERT_DISPLAY = 100

ALERT_NEXT_MESSAGE

public mixed ALERT_NEXT_MESSAGE = 222

ALERT_NO_END_OF_DATA

public mixed ALERT_NO_END_OF_DATA = 223

ALERT_ONE_WAY_FROM_CLIENT

public mixed ALERT_ONE_WAY_FROM_CLIENT = 202

ALERT_ONE_WAY_FROM_CLIENT_BY_SERVER

public mixed ALERT_ONE_WAY_FROM_CLIENT_BY_SERVER = 207

ALERT_ONE_WAY_FROM_SERVER

public mixed ALERT_ONE_WAY_FROM_SERVER = 204

ALERT_ONE_WAY_FROM_SERVER_BY_SERVER

public mixed ALERT_ONE_WAY_FROM_SERVER_BY_SERVER = 209

ALERT_REFRESH_FROM_CLIENT

public mixed ALERT_REFRESH_FROM_CLIENT = 203

ALERT_REFRESH_FROM_CLIENT_BY_SERVER

public mixed ALERT_REFRESH_FROM_CLIENT_BY_SERVER = 208

ALERT_REFRESH_FROM_SERVER

public mixed ALERT_REFRESH_FROM_SERVER = 205

ALERT_REFRESH_FROM_SERVER_BY_SERVER

public mixed ALERT_REFRESH_FROM_SERVER_BY_SERVER = 210

ALERT_RESULT_ALERT

public mixed ALERT_RESULT_ALERT = 221

ALERT_RESUME

public mixed ALERT_RESUME = 225

ALERT_SLOW_SYNC

public mixed ALERT_SLOW_SYNC = 201

ALERT_SUSPEND

public mixed ALERT_SUSPEND = 224

ALERT_TWO_WAY

public mixed ALERT_TWO_WAY = 200

ALERT_TWO_WAY_BY_SERVER

public mixed ALERT_TWO_WAY_BY_SERVER = 206

CONFIG_DELETE_MAP_ON_ANCHOR_MISMATCH_SLOWSYNC

If true the client uid<->server uid map will be deleted when a SlowSync is done due to an anchor mismatch. An anchor mismatch may happen if a session terminates unexpectedly.

public mixed CONFIG_DELETE_MAP_ON_ANCHOR_MISMATCH_SLOWSYNC = alse

CONFIG_DELETE_MAP_ON_REQUESTED_SLOWSYNC

If true the client uid<->server uid map will be deleted when a SlowSync is requested.

public mixed CONFIG_DELETE_MAP_ON_REQUESTED_SLOWSYNC = rue

This produces duplicates if there are entries in the client and the server. This need to be true for the test conformance suite.

MIME_ICALENDAR

public mixed MIME_ICALENDAR = 'text/calendar'

MIME_MESSAGE

public mixed MIME_MESSAGE = 'text/message'

MIME_SYNCML_DEVICE_INFO_WBXML

public mixed MIME_SYNCML_DEVICE_INFO_WBXML = 'application/vnd.syncml-devinf+wbxml'

MIME_SYNCML_DEVICE_INFO_XML

public mixed MIME_SYNCML_DEVICE_INFO_XML = 'application/vnd.syncml-devinf+xml'

MIME_SYNCML_RELATIONAL_OBJECT

public mixed MIME_SYNCML_RELATIONAL_OBJECT = 'application/vnd.syncml-xrelational'

MIME_SYNCML_WBXML

public mixed MIME_SYNCML_WBXML = 'application/vnd.syncml+wbxml'

MIME_SYNCML_XML

public mixed MIME_SYNCML_XML = 'application/vnd.syncml+xml'

MIME_SYNCML_XML_BOOKMARK

public mixed MIME_SYNCML_XML_BOOKMARK = 'application/vnd.syncml-xbookmark'

MIME_SYNCML_XML_EMAIL

public mixed MIME_SYNCML_XML_EMAIL = 'application/vnd.syncml-xmsg'

MIME_TEXT_PLAIN

public mixed MIME_TEXT_PLAIN = 'text/plain'

MIME_VCALENDAR

public mixed MIME_VCALENDAR = 'text/x-vcalendar'

MIME_VCARD_V21

public mixed MIME_VCARD_V21 = 'text/x-vcard'

MIME_VCARD_V30

public mixed MIME_VCARD_V30 = 'text/vcard'

MIME_XML_ICALENDAR

public mixed MIME_XML_ICALENDAR = 'application/vnd.syncml-xcal'

MSG_CHUNK_LEN

Estimated size of an empty chunk when when splitting a message, including MoreData tag.

public mixed MSG_CHUNK_LEN = 180

When splitting a message, we have to ensure that the size of the complete message does not exceed MaxMsgSize sent by the client.

MSG_DEFAULT_LEN

Standard size for a complete but empty SyncML message. Used in estimating the size for a message.

public mixed MSG_DEFAULT_LEN = 1000

MSG_TRAILER_LEN

The "safety margin" for the closing tags when finishing a message.

public mixed MSG_TRAILER_LEN = 150

When exporting a data entry, we have to ensure that the size of the complete message does not exceed MaxMsgSize sent by the client.

NAME_SPACE_URI_DEVINF

public mixed NAME_SPACE_URI_DEVINF = 'syncml:devinf'

NAME_SPACE_URI_DEVINF_1_1

public mixed NAME_SPACE_URI_DEVINF_1_1 = 'syncml:devinf'

NAME_SPACE_URI_DEVINF_1_2

public mixed NAME_SPACE_URI_DEVINF_1_2 = 'syncml:devinf'

NAME_SPACE_URI_METINF

public mixed NAME_SPACE_URI_METINF = 'syncml:metinf'

NAME_SPACE_URI_METINF_1_1

public mixed NAME_SPACE_URI_METINF_1_1 = 'syncml:metinf'

NAME_SPACE_URI_METINF_1_2

public mixed NAME_SPACE_URI_METINF_1_2 = 'syncml:metinf'

NAME_SPACE_URI_SYNCML

public mixed NAME_SPACE_URI_SYNCML = 'syncml:syncml'

NAME_SPACE_URI_SYNCML_1_1

public mixed NAME_SPACE_URI_SYNCML_1_1 = 'syncml:syncml1.1'

NAME_SPACE_URI_SYNCML_1_2

public mixed NAME_SPACE_URI_SYNCML_1_2 = 'syncml:syncml1.2'

RESPONSE_ACCEPTED_FOR_PROCESSING

public mixed RESPONSE_ACCEPTED_FOR_PROCESSING = 202

RESPONSE_ATOMIC_ROLL_BACK_OK

public mixed RESPONSE_ATOMIC_ROLL_BACK_OK = 216

RESPONSE_AUTHENTICATION_ACCEPTED

public mixed RESPONSE_AUTHENTICATION_ACCEPTED = 212

RESPONSE_BAD_REQUEST

public mixed RESPONSE_BAD_REQUEST = 400

RESPONSE_CHUNKED_ITEM_ACCEPTED_AND_BUFFERED

public mixed RESPONSE_CHUNKED_ITEM_ACCEPTED_AND_BUFFERED = 213

RESPONSE_COMMAND_FAILED

public mixed RESPONSE_COMMAND_FAILED = 500

RESPONSE_CONFILCT_RESOLVED_WITH_DUPLICATE

public mixed RESPONSE_CONFILCT_RESOLVED_WITH_DUPLICATE = 209

RESPONSE_CONFLICT_RESOLVED_WITH_CLIENT_WINNING

public mixed RESPONSE_CONFLICT_RESOLVED_WITH_CLIENT_WINNING = 208

RESPONSE_CONFLICT_RESOLVED_WITH_MERGE

public mixed RESPONSE_CONFLICT_RESOLVED_WITH_MERGE = 207

RESPONSE_CREDENTIALS_MISSING

public mixed RESPONSE_CREDENTIALS_MISSING = 407

RESPONSE_DELETE_WITHOUT_ARCHIVE

public mixed RESPONSE_DELETE_WITHOUT_ARCHIVE = 210

RESPONSE_IN_PROGRESS

public mixed RESPONSE_IN_PROGRESS = 101

RESPONSE_INVALID_CREDENTIALS

public mixed RESPONSE_INVALID_CREDENTIALS = 401

RESPONSE_ITEM_ADDED

public mixed RESPONSE_ITEM_ADDED = 201

RESPONSE_ITEM_NO_DELETED

public mixed RESPONSE_ITEM_NO_DELETED = 211

RESPONSE_MULTIPLE_CHOICES

public mixed RESPONSE_MULTIPLE_CHOICES = 300

RESPONSE_NO_CONTENT

public mixed RESPONSE_NO_CONTENT = 204

RESPONSE_NO_EXECUTED

public mixed RESPONSE_NO_EXECUTED = 215

RESPONSE_NONAUTHORIATATIVE_RESPONSE

public mixed RESPONSE_NONAUTHORIATATIVE_RESPONSE = 203

RESPONSE_NOT_FOUND

public mixed RESPONSE_NOT_FOUND = 404

RESPONSE_OK

public mixed RESPONSE_OK = 200

RESPONSE_OPERATION_CANCELLED

public mixed RESPONSE_OPERATION_CANCELLED = 214

RESPONSE_PARTIAL_CONTENT

public mixed RESPONSE_PARTIAL_CONTENT = 206

RESPONSE_REFRESH_REQUIRED

public mixed RESPONSE_REFRESH_REQUIRED = 508

RESPONSE_REQUEST_SIZE_TOO_BIG

public mixed RESPONSE_REQUEST_SIZE_TOO_BIG = 416

RESPONSE_RESET_CONTENT

public mixed RESPONSE_RESET_CONTENT = 205

RESPONSE_SIZE_MISMATCH

public mixed RESPONSE_SIZE_MISMATCH = 424

RESPONSE_SIZE_REQUIRED

public mixed RESPONSE_SIZE_REQUIRED = 411

RESPONSE_USE_PROXY

public mixed RESPONSE_USE_PROXY = 305

SERVER_MAXMSGSIZE

Maximum size for one sync message as defined by SyncML protocol spec.

public mixed SERVER_MAXMSGSIZE = 1000000000

SERVER_MAXOBJSIZE

Maximum Size of a data object. Currently global for all databases.

public mixed SERVER_MAXOBJSIZE = 1000000000

Search results