const classstuds::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

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 is null this method blocks indefinietly. Returns true time was acquired, or false if timed out.