Behaviours: gen_server.
state() = #systemd_state{socket = gen_udp:socket() | undefined, destination = inet:local_address() | undefined, interval = pos_integer() | undefined, last_ping = integer() | undefined}
watchdog_timeout() = pos_integer() | hibernate
code_change/3 | |
handle_call/3 | |
handle_cast/2 | |
handle_info/2 | |
init/1 | |
ready/0 | |
reloading/0 | |
start_link/0 | |
stopping/0 | |
terminate/2 |
handle_call(Request::term(), From::{pid(), term()}, State::state()) -> {reply, {error, badarg}, state(), watchdog_timeout()}
handle_cast(Msg::{notify, binary()} | term(), Systemd_state::state()) -> {noreply, state(), watchdog_timeout()}
handle_info(Info::timeout | term(), Systemd_state::state()) -> {noreply, state(), watchdog_timeout()}
init(Opts::any()) -> {ok, state()} | {ok, state(), watchdog_timeout()} | {error, term()}
ready() -> ok
reloading() -> ok
start_link() -> {ok, pid()} | ignore | {error, term()}
stopping() -> ok
terminate(Reason::normal | shutdown | {shutdown, term()} | term(), Systemd_state::state()) -> ok
Generated by EDoc