File/SyncML/SyncML/Constants.php

Description

$Horde: framework/SyncML/SyncML/Constants.php,v 1.1.2.10 2009/01/06 15:23:37 jan Exp $

Copyright 2005-2009 The Horde Project (http://www.horde.org/)

See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.fsf.org/copyleft/lgpl.html.

Constants
ALERT_DISPLAY = 100 (line 14)

$Horde: framework/SyncML/SyncML/Constants.php,v 1.1.2.10 2009/01/06 15:23:37 jan Exp $

Copyright 2005-2009 The Horde Project (http://www.horde.org/)

See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.fsf.org/copyleft/lgpl.html.

ALERT_NEXT_MESSAGE = 222 (line 31)
ALERT_NO_END_OF_DATA = 223 (line 32)
ALERT_ONE_WAY_FROM_CLIENT = 202 (line 18)
ALERT_ONE_WAY_FROM_CLIENT_BY_SERVER = 207 (line 25)
ALERT_ONE_WAY_FROM_SERVER = 204 (line 20)
ALERT_ONE_WAY_FROM_SERVER_BY_SERVER = 209 (line 27)
ALERT_REFRESH_FROM_CLIENT = 203 (line 19)
ALERT_REFRESH_FROM_CLIENT_BY_SERVER = 208 (line 26)
ALERT_REFRESH_FROM_SERVER = 205 (line 21)
ALERT_REFRESH_FROM_SERVER_BY_SERVER = 210 (line 28)
ALERT_RESULT_ALERT = 221 (line 30)
ALERT_RESUME = 225 (line 36)
ALERT_SLOW_SYNC = 201 (line 17)
ALERT_SUSPEND = 224 (line 35)
ALERT_TWO_WAY = 200 (line 16)
ALERT_TWO_WAY_BY_SERVER = 206 (line 24)
CONFIG_DELETE_MAP_ON_ANCHOR_MISMATCH_SLOWSYNC = false (line 182)

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 = true (line 175)

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

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 = 'text/calendar' (line 49)
MIME_MESSAGE = 'text/message' (line 52)
MIME_SYNCML_DEVICE_INFO_WBXML = 'application/vnd.syncml-devinf+wbxml' (line 42)
MIME_SYNCML_DEVICE_INFO_XML = 'application/vnd.syncml-devinf+xml' (line 41)
MIME_SYNCML_RELATIONAL_OBJECT = 'application/vnd.syncml-xrelational' (line 56)
MIME_SYNCML_WBXML = 'application/vnd.syncml+wbxml' (line 39)
MIME_SYNCML_XML = 'application/vnd.syncml+xml' (line 38)
MIME_SYNCML_XML_BOOKMARK = 'application/vnd.syncml-xbookmark' (line 55)
MIME_SYNCML_XML_EMAIL = 'application/vnd.syncml-xmsg' (line 54)
MIME_TEXT_PLAIN = 'text/plain' (line 44)
MIME_VCALENDAR = 'text/x-vcalendar' (line 48)
MIME_VCARD_V21 = 'text/x-vcard' (line 45)
MIME_VCARD_V30 = 'text/vcard' (line 46)
MIME_XML_ICALENDAR = 'application/vnd.syncml-xcal' (line 50)
MSG_DEFAULT_LEN = 1000 (line 166)

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

MSG_TRAILER_LEN = 150 (line 160)

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

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 = 'syncml:devinf' (line 140)
NAME_SPACE_URI_DEVINF_1_1 = 'syncml:devinf' (line 141)
NAME_SPACE_URI_DEVINF_1_2 = 'syncml:devinf' (line 142)
NAME_SPACE_URI_METINF = 'syncml:metinf' (line 137)
NAME_SPACE_URI_METINF_1_1 = 'syncml:metinf' (line 138)
NAME_SPACE_URI_METINF_1_2 = 'syncml:metinf' (line 139)
NAME_SPACE_URI_SYNCML = 'syncml:syncml' (line 134)
NAME_SPACE_URI_SYNCML_1_1 = 'syncml:syncml1.1' (line 135)
NAME_SPACE_URI_SYNCML_1_2 = 'syncml:syncml1.2' (line 136)
RESPONSE_ACCEPTED_FOR_PROCESSING = 202 (line 62)
RESPONSE_ATOMIC_ROLL_BACK_OK = 216 (line 76)
RESPONSE_AUTHENTICATION_ACCEPTED = 212 (line 72)
RESPONSE_BAD_REQUEST = 400 (line 86)
RESPONSE_CHUNKED_ITEM_ACCEPTED_AND_BUFFERED = 213 (line 73)
RESPONSE_COMMAND_FAILED = 500 (line 115)
RESPONSE_CONFILCT_RESOLVED_WITH_DUPLICATE = 209 (line 69)
RESPONSE_CONFLICT_RESOLVED_WITH_CLIENT_WINNING = 208 (line 68)
RESPONSE_CONFLICT_RESOLVED_WITH_MERGE = 207 (line 67)
RESPONSE_CREDENTIALS_MISSING = 407 (line 95)
RESPONSE_DELETE_WITHOUT_ARCHIVE = 210 (line 70)
RESPONSE_INVALID_CREDENTIALS = 401 (line 87)
RESPONSE_IN_PROGRESS = 101 (line 58)
RESPONSE_ITEM_ADDED = 201 (line 61)
RESPONSE_ITEM_NO_DELETED = 211 (line 71)
RESPONSE_MULTIPLE_CHOICES = 300 (line 78)
RESPONSE_NONAUTHORIATATIVE_RESPONSE = 203 (line 63)
RESPONSE_NOT_FOUND = 404 (line 91)
RESPONSE_NO_CONTENT = 204 (line 64)
RESPONSE_NO_EXECUTED = 215 (line 75)
RESPONSE_OK = 200 (line 60)
RESPONSE_OPERATION_CANCELLED = 214 (line 74)
RESPONSE_PARTIAL_CONTENT = 206 (line 66)
RESPONSE_REFRESH_REQUIRED = 508 (line 124)
RESPONSE_REQUEST_SIZE_TOO_BIG = 416 (line 104)
RESPONSE_RESET_CONTENT = 205 (line 65)
RESPONSE_SIZE_MISMATCH = 424 (line 113)
RESPONSE_USE_PROXY = 305 (line 84)
SERVER_MAXMSGSIZE = 1000000000 (line 152)

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

SERVER_MAXOBJSIZE = 1000000000 (line 147)

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

Documentation generated on Sun, 30 Jan 2011 05:15:59 +0000 by phpDocumentor 1.4.3