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.
SNTP Protocol handling class
integer $_delay = ''Socket delay
Detailsinteger $_port = '37'Port number for this timeserver
Details__construct(
string $timeserver, integer $port
)
:
Class constructor, sets the timeserver and port number
Details_extract(
string $result
)
:
integerExtracts the data returned from the timeserver
Details_prepare(
)
:
arrayPrepares the data that will be send to the timeserver
Details_read(
)
:
stringReads the data returned from the timeserver
Details_write(
string $data
)
:
voidWrites data to to the timeserver
Details