Description | Hierarchy | Fields | Methods | Properties |
type unaSNTP = class(unaThread)
SNTP implementation class.
function getRefCodeAsString(): string; |
|
function nowNTP(out ntp: unaNTP_timestamp; adjustOffest: bool = true): bool; |
|
function synch(const server: string = 'pool.ntp.org'): int; |
|
function execute(threadID: unsigned): int; override; |
|
procedure AfterConstruction(); override; |
|
procedure BeforeDestruction(); override; |
property clockOffset: int64 read f_co; |
|
property refCode: unsigned read f_refCode; |
|
property roundtripDelay: int64 read f_rtd; |
|
property stratum: unsigned read f_stratum; |
function getRefCodeAsString(): string; |
|
function nowNTP(out ntp: unaNTP_timestamp; adjustOffest: bool = true): bool; |
|
function synch(const server: string = 'pool.ntp.org'): int; |
|
Posts unicast NTP request to specified NTP server.
Parameters
ReturnsNumber of IPs the host resolves to. |
function execute(threadID: unsigned): int; override; |
|
procedure AfterConstruction(); override; |
|
procedure BeforeDestruction(); override; |
|
property clockOffset: int64 read f_co; |
|
ms |
property refCode: unsigned read f_refCode; |
|
0 - kiss-o'-death 1 - primary source 2-15 - synchronized by NTP/SNTP 16-254 - reserved 255 - query in progress, please wait |
property roundtripDelay: int64 read f_rtd; |
|
property stratum: unsigned read f_stratum; |
|
ms |
(c) 2012 Lake of Soft