Class Horde_ActiveSync_Request_Ping
Zarafa Deutschland GmbH, www.zarafaserver.de This file is distributed under GPL-2.0. Consult COPYING file for details
- Horde_ActiveSync_Request_Base
- Horde_ActiveSync_Request_Ping
Located at Horde/ActiveSync/Request/Ping.php
public
boolean
|
#
handle( )
Handle a PING command from the PIM. Ping is sent periodically by the PIM to tell the server what folders we are interested in monitoring for changes. If no changes are detected by the server during the 'heartbeat' interval, the server sends back a status of 1 to indicate heartbeat expired and the client should re-issue the PING command. If a change has been found, the client is sent a 2 status and should then issue a SYNC command. |
__construct(),
checkPolicyKey(),
setLogger()
|
integer |
STATUS_NOCHANGES
|
#
1
|
integer |
STATUS_NEEDSYNC
|
#
2
|
integer |
STATUS_MISSING
|
#
3
|
integer |
STATUS_PROTERROR
|
#
4
|
integer |
STATUS_HBOUTOFBOUNDS
|
#
5
|
integer |
STATUS_MAXFOLDERS
|
#
6
|
integer |
STATUS_FOLDERSYNCREQD
|
#
7
|
integer |
STATUS_SERVERERROR
|
#
8
|
string |
PING
|
#
'Ping:Ping'
|
string |
STATUS
|
#
'Ping:Status'
|
string |
HEARTBEATINTERVAL
|
#
'Ping:HeartbeatInterval'
|
string |
FOLDERS
|
#
'Ping:Folders'
|
string |
FOLDER
|
#
'Ping:Folder'
|
string |
SERVERENTRYID
|
#
'Ping:ServerEntryId'
|
string |
FOLDERTYPE
|
#
'Ping:FolderType'
|