Overview

Packages

  • ActiveSync
  • None

Classes

  • Horde_ActiveSync
  • Horde_ActiveSync_Connector_Exporter
  • Horde_ActiveSync_Connector_Importer
  • Horde_ActiveSync_Driver_Base
  • Horde_ActiveSync_Exception
  • Horde_ActiveSync_Exception_InvalidRequest
  • Horde_ActiveSync_Exception_StateGone
  • Horde_ActiveSync_Message_Base
  • Horde_ActiveSync_Request_Base
  • Horde_ActiveSync_Request_FolderCreate
  • Horde_ActiveSync_Request_FolderSync
  • Horde_ActiveSync_Request_GetHierarchy
  • Horde_ActiveSync_Request_GetItemEstimate
  • Horde_ActiveSync_Request_MeetingResponse
  • Horde_ActiveSync_Request_MoveItems
  • Horde_ActiveSync_Request_Notify
  • Horde_ActiveSync_Request_Ping
  • Horde_ActiveSync_Request_Provision
  • Horde_ActiveSync_Request_Search
  • Horde_ActiveSync_Request_SendMail
  • Horde_ActiveSync_Request_SmartForward
  • Horde_ActiveSync_Request_SmartReply
  • Horde_ActiveSync_Request_Sync
  • Horde_ActiveSync_State_File
  • Horde_ActiveSync_Sync
  • Horde_ActiveSync_Wbxml
  • Horde_ActiveSync_Wbxml_Decoder
  • Horde_ActiveSync_Wbxml_Encoder
  • Overview
  • Package
  • Class
  • Tree

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
Extended by Horde_ActiveSync_Request_Ping
Located at Horde/ActiveSync/Request/Ping.php
Methods summary
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.

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.

Returns

boolean

Overrides

Horde_ActiveSync_Request_Base::handle()
Methods inherited from Horde_ActiveSync_Request_Base
__construct(), checkPolicyKey(), setLogger()
Constants summary
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'
API documentation generated by ApiGen