const class studs::Ntpd
sys::Obj studs::Daemon studs::Ntpd
The Ntpd daemon provides support for synchronizing wall clock time using the NTP protocol.
See NTP chapter for details.
- cur
-
const static Ntpd? cur(Bool checked := true)
Get the Ntpd instance for this VM. If an instance is not found, throw Err if
checked
otherwise return null. - make
-
new make()
- servers
-
Str[] servers
The current NTP server pool.
- sync
-
Bool sync(Duration? timeout := null)
Block until ntpd acquires a valid time. If
timeout
isnull
this method blocks indefinietly. Returnstrue
time was acquired, orfalse
if timed out.