Module ntpstat_monitor

NTP client ntpstat monitor

.

Copyright © 2025 Michael Truog

Version: 2.0.8 May 15 2025 20:44:11 ------------------------------------------------------------------------

Behaviours: gen_server.

Authors: Michael Truog (mjtruog at protonmail dot com).

Description

NTP client ntpstat monitor

Data Types

event()

event() = {ntp, status(), native_monotonic()}

native_monotonic()

native_monotonic() = integer()

status()

status() = ok | ntpstat:status_error()

Function Index

code_change/3
handle_call/3
handle_cast/2
handle_info/2
init/1
start_link/3

Start a process to monitor ntpstat values.

.
stop_link/1

Stop a ntpstat monitor process.

.
terminate/2

Function Details

code_change/3

code_change(X1, State, X3) -> any()

handle_call/3

handle_call(Request, X2, State) -> any()

handle_cast/2

handle_cast(Request, State) -> any()

handle_info/2

handle_info(Request, State) -> any()

init/1

init(X1) -> any()

start_link/3

start_link(ReceiverPid::pid(), IntervalSeconds::pos_integer(), Options::ntpstat:options()) -> {ok, pid()} | {error, any()}

Start a process to monitor ntpstat values.

stop_link/1

stop_link(Pid::pid()) -> ok

Stop a ntpstat monitor process.

terminate/2

terminate(X1, State) -> any()


Generated by EDoc