Module net_kernel

An implementation of the Erlang/OTP net_kernel interface.

Behaviours: gen_server.

Description

This module implements a strict subset of the Erlang/OTP net_kernel interface.

Function Index

epmd_module/0Get the epmd client module implementation.
get_net_ticktime/0Get the current net tick time.
get_state/0Get state of erlang distribution.
start/2Start erlang distribution.
stop/0Stop erlang distribution.

Function Details

epmd_module/0


epmd_module() -> module()

returns: the module to use to connect to epmd daemon

Get the epmd client module implementation.

get_net_ticktime/0


get_net_ticktime() -> pos_integer()

returns: the net tick time in seconds

Get the current net tick time

get_state/0


get_state() -> map()

returns: a map describing state of distribution

Get state of erlang distribution

start/2


start(Name::atom(), Options0::map()) -> {ok, pid()}

Name: name of the node

Start erlang distribution

stop/0

stop() -> any()

Stop erlang distribution