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
Method Summary
 void __construct (string $timeserver, int $port)
 void _extract ( $result)
 void _prepare ()
 void _read ()
 void _write ( $data)
Variables
Methods
Constructor __construct (line 45)

Class constructor, sets the timeserver and port number

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

Redefinition of:
Zend_TimeSync_Protocol::_extract()
Abstract method that extracts the binary data returned from the timeserver
_prepare (line 51)
  • access: protected
void _prepare ()

Redefinition of:
Zend_TimeSync_Protocol::_prepare()
Abstract method that prepares the data to send to the timeserver
_read (line 56)
  • access: protected
void _read ()

Redefinition of:
Zend_TimeSync_Protocol::_read()
Abstract method that reads the data returned from the timeserver
_write (line 63)
  • access: protected
void _write ( $data)
  • $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 Thu, 18 Jan 2007 10:01:19 -0800 by phpDocumentor 1.3.1