Zend_TimeSync_NtpLocated in /TimeSync/Ntp.php (line 34)
Zend_TimeSync_Protocol | --Zend_TimeSync_Ntp
int
$_port
= 123 (line 42)
This is the NTP port number (123) assigned by the Internet Assigned Numbers Authority to NTP.
Inherited from Zend_TimeSync_Protocol
Zend_TimeSync_Protocol::$_exceptions
Zend_TimeSync_Protocol::$_info
Zend_TimeSync_Protocol::$_socket
Zend_TimeSync_Protocol::$_timeserver
Constructor __construct (line 50)
Class constructor, sets the timeserver and port number
_extract (line 202)
Extracts the binary data returned from the timeserver
_prepare (line 67)
Prepare local timestamp for transmission in our request packet
NTP timestamps are represented as a 64-bit fixed-point number, in seconds relative to 0000 UT on 1 January 1900. The integer part is in the first 32 bits and the fraction part in the last 32 bits.
_read (line 148)
Reads the data returned from the timeserver
This will return an array with binary data listing:
_write (line 188)
Sends the NTP packet to the server
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:02:44 -0800 by phpDocumentor 1.3.1