PHP 클래스 Horde_ActiveSync_Request_Ping, horde

저자: Michael J Rubinsky ([email protected])
상속: extends Horde_ActiveSync_Request_Base
파일 보기 프로젝트 열기: horde/horde

보호된 프로퍼티들

프로퍼티 타입 설명
$_pingSettings array The device's PING configuration (obtained from state)

보호된 메소드들

메소드 설명
_checkHeartbeat ( integer $lifetime ) : integer Validate the configured/requested heartbeat Will set self::_statusCode appropriately in case of an invalid interval.
_handle ( ) : boolean Handle a PING command from the client. PING is sent periodically by the client 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 self::STATUS_NOCHANGES to indicate heartbeat expired and the client should re-issue the PING command. If a change has been found, the client is sent a self::STATUS_NEEDSYNC and should issue a SYNC command.
_handleGlobalError ( ) Helper for sending error status results.

메소드 상세

_checkHeartbeat() 보호된 메소드

Validate the configured/requested heartbeat Will set self::_statusCode appropriately in case of an invalid interval.
protected _checkHeartbeat ( integer $lifetime ) : integer
$lifetime integer The heartbeat to verify
리턴 integer The valid heartbeat value to use.

_handle() 보호된 메소드

Handle a PING command from the client. PING is sent periodically by the client 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 self::STATUS_NOCHANGES to indicate heartbeat expired and the client should re-issue the PING command. If a change has been found, the client is sent a self::STATUS_NEEDSYNC and should issue a SYNC command.
protected _handle ( ) : boolean
리턴 boolean

_handleGlobalError() 보호된 메소드

Helper for sending error status results.
protected _handleGlobalError ( )

프로퍼티 상세

$_pingSettings 보호되어 있는 프로퍼티

The device's PING configuration (obtained from state)
protected array $_pingSettings
리턴 array