Abstract Class Zend_TimeSync_Protocol

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

Located in /TimeSync/Protocol.php (line 29)


	
			
Direct descendents
Variable Summary
 array $_exceptions
 array $_info
 array $_socket
 string $_timeserver
Method Summary
 Zend_Date getDate ([$locale $locale = false])
 array getInfo ()
 void _connect ()
 void _disconnect ()
 mixed _extract ( $data)
 mixed _prepare ()
 mixed _read ()
 mixed _write ( $data)
Variables
array $_exceptions (line 43)

Exceptions that might have occured

  • access: protected
array $_info = array() (line 57)

Holds information passed/returned from timeserver

  • access: protected
array $_socket (line 36)

Holds the current socket connection

  • access: protected
string $_timeserver (line 50)

Hostname for timeserver

  • access: protected
Methods
getDate (line 132)

Query this timeserver without using the fallback mechanism

  • access: public
  • throws: Zend_TimeSync_Exception
Zend_Date getDate ([$locale $locale = false])
  • $locale $locale: optional locale
getInfo (line 120)

Return information sent/returned from the timeserver

  • access: public
array getInfo ()
_connect (line 93)

Connect to the specified timeserver.

  • access: protected
  • throws: Zend_TimeSync_Exception
void _connect ()
_disconnect (line 109)

Disconnects from the peer, closes the socket.

  • access: protected
void _disconnect ()
_extract (line 85)

Abstract method that extracts the binary data returned from the timeserver

  • access: protected
  • abstract:
mixed _extract ( $data)
  • $data

Redefined in descendants as:
_prepare (line 64)

Abstract method that prepares the data to send to the timeserver

  • access: protected
  • abstract:
mixed _prepare ()

Redefined in descendants as:
_read (line 71)

Abstract method that reads the data returned from the timeserver

  • access: protected
  • abstract:
mixed _read ()

Redefined in descendants as:
_write (line 78)

Abstract method that writes data to to the timeserver

  • access: protected
  • abstract:
mixed _write ( $data)
  • $data

Redefined in descendants as:

Documentation generated on Wed, 21 Feb 2007 12:02:49 -0800 by phpDocumentor 1.3.1