Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.
Abstract class definition for all timeserver protocols
array $_exceptions = ''
Exceptions that might have occured
array $_info = 'array'
Holds information passed/returned from timeserver
array $_socket = ''
Holds the current socket connection
string $_timeserver = ''
Hostname for timeserver
_connect(
)
:
void
Connect to the specified timeserver.
_disconnect(
)
:
void
Disconnects from the peer, closes the socket.
_extract(
string|array $data
)
:
integer
Abstract method that extracts the binary data returned from the timeserver
_prepare(
)
:
mixed
Abstract method that prepares the data to send to the timeserver
_read(
)
:
mixed
Abstract method that reads the data returned from the timeserver
_write(
string $data
)
:
void
Abstract method that writes data to to the timeserver
getDate(
string|Zend_Locale $locale
=
null
)
:
Zend_Date
Query this timeserver without using the fallback mechanism
getInfo(
)
:
array
Return information sent/returned from the timeserver