Class Zend_TimeSync_Sntp

Description
  • license: New BSD License
  • copyright: Copyright (c) 2005-2007 Zend Technologies USA Inc. (http://www.zend.com)

Located in /TimeSync/Sntp.php (line 34)

Zend_TimeSync_Protocol
   |
   --Zend_TimeSync_Sntp
Variable Summary
 int $_port
Method Summary
 void __construct (string $timeserver, int $port)
 integer _extract (array $result)
 array _prepare ()
 void _read ()
 void _write (array $data)
Variables
int $_port = 37 (line 41)

Port number for this timeserver

  • access: protected

Inherited Variables

Inherited from Zend_TimeSync_Protocol

Zend_TimeSync_Protocol::$_exceptions
Zend_TimeSync_Protocol::$_info
Zend_TimeSync_Protocol::$_socket
Zend_TimeSync_Protocol::$_timeserver
Methods
Constructor __construct (line 57)

Class constructor, sets the timeserver and port number

  • access: public
void __construct (string $timeserver, int $port)
  • string $timeserver
  • int $port
_extract (line 107)

Extracts the data returned from the timeserver

  • access: protected
integer _extract (array $result)
  • array $result

Redefinition of:
Zend_TimeSync_Protocol::_extract()
Abstract method that extracts the binary data returned from the timeserver
_prepare (line 70)

Prepares the data that will be send to the timeserver

  • access: protected
array _prepare ()

Redefinition of:
Zend_TimeSync_Protocol::_prepare()
Abstract method that prepares the data to send to the timeserver
_read (line 80)

Reads the data returned from the timeserver

  • access: protected
void _read ()

Redefinition of:
Zend_TimeSync_Protocol::_read()
Abstract method that reads the data returned from the timeserver
_write (line 94)

Writes data to to the timeserver

  • access: protected
void _write (array $data)
  • array $data

Redefinition of:
Zend_TimeSync_Protocol::_write()
Abstract method that writes data to to the timeserver

Inherited Methods

Inherited From Zend_TimeSync_Protocol

 Zend_TimeSync_Protocol::getDate()
 Zend_TimeSync_Protocol::getInfo()
 Zend_TimeSync_Protocol::_connect()
 Zend_TimeSync_Protocol::_disconnect()
 Zend_TimeSync_Protocol::_extract()
 Zend_TimeSync_Protocol::_prepare()
 Zend_TimeSync_Protocol::_read()
 Zend_TimeSync_Protocol::_write()

Documentation generated on Wed, 21 Feb 2007 12:03:00 -0800 by phpDocumentor 1.3.1