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

__construct(
string $timeserver, integer $port
)
:
void
Class constructor, sets the timeserver and port number
Name | Type | Description |
---|---|---|
$timeserver | string | Timeserver to connect to |
$port | integer | Port of the timeserver when it differs from the default port |

_extract(
string $result
)
:
integer
Extracts the data returned from the timeserver
Name | Type | Description |
---|---|---|
$result | string | Data to extract |
Type | Description |
---|---|
integer |

_prepare(
)
:
array
Prepares the data that will be send to the timeserver
Type | Description |
---|---|
array |