Zend Framework
1.12
|
Public Member Functions | |
getInfo () | |
Return information sent/returned from the timeserver. | |
getDate ($locale=null) | |
Query this timeserver without using the fallback mechanism. | |
Protected Member Functions | |
_prepare () | |
Abstract method that prepares the data to send to the timeserver. | |
_read () | |
Abstract method that reads the data returned from the timeserver. | |
_write ($data) | |
Abstract method that writes data to to the timeserver. | |
_extract ($data) | |
Abstract method that extracts the binary data returned from the timeserver. | |
_connect () | |
Connect to the specified timeserver. | |
_disconnect () | |
Disconnects from the peer, closes the socket. | |
Protected Attributes | |
$_socket | |
$_exceptions | |
$_timeserver | |
$_info = array() | |
|
protected |
Connect to the specified timeserver.
Zend_TimeSync_Exception | When the connection failed |
|
protected |
Disconnects from the peer, closes the socket.
|
abstractprotected |
Abstract method that extracts the binary data returned from the timeserver.
string | array | $data | Data returned from the timeserver |
|
abstractprotected |
Abstract method that prepares the data to send to the timeserver.
|
abstractprotected |
Abstract method that reads the data returned from the timeserver.
|
abstractprotected |
Abstract method that writes data to to the timeserver.
string | $data | Data to write |
getDate | ( | $locale = null | ) |
Query this timeserver without using the fallback mechanism.
string | Zend_Locale | $locale | (Optional) Locale |
getInfo | ( | ) |
Return information sent/returned from the timeserver.
|
protected |
|
protected |
|
protected |
|
protected |