Module gen_mod [erl svg]

Function Index

behaviour_info/1
del_module_mnesia/2*
get_hosts/2
get_module_opt/4
get_module_opt_host/3
get_module_proc/2
get_module_proc_existing/2
get_opt/2
get_opt/3
get_opt_host/3
is_app_running/1*
is_loaded/2Check if the module is loaded in this host (or global), or not.
loaded_modules/1
loaded_modules_with_opts/1
set_module_opts_mnesia/3*
start/0
start_module/3
start_module2/3*
stop_module/2Stop the module in a host, and forget its configuration.
stop_module_keep_config/2Stop the module in a host, but keep its configuration.
wait_for_process/1*
wait_for_stop/2*
wait_for_stop1/1*

Function Details

behaviour_info/1

behaviour_info(Other) -> any()

del_module_mnesia/2 *

del_module_mnesia(Host, Module) -> any()

get_hosts/2

get_hosts(Opts, Prefix) -> any()

get_module_opt/4

get_module_opt(Host, Module, Opt, Default) -> any()

get_module_opt_host/3

get_module_opt_host(Host, Module, Default) -> any()

get_module_proc/2

get_module_proc(Host, Base) -> any()

get_module_proc_existing/2

get_module_proc_existing(Host, Base) -> any()

get_opt/2

get_opt(Opt, Opts) -> any()

get_opt/3

get_opt(Opt, Opts, Default) -> any()

get_opt_host/3

get_opt_host(Host, Opts, Default) -> any()

is_app_running/1 *

is_app_running(AppName) -> any()

is_loaded/2

is_loaded(Host, Module) -> any()

Check if the module is loaded in this host (or global), or not.

loaded_modules/1

loaded_modules(Host) -> any()

loaded_modules_with_opts/1

loaded_modules_with_opts(Host) -> any()

set_module_opts_mnesia/3 *

set_module_opts_mnesia(Host, Module, Opts) -> any()

start/0

start() -> any()

start_module/3

start_module(Host, Module, Opts) -> any()

start_module2/3 *

start_module2(Host, Module, Opts) -> any()

stop_module/2

stop_module(Host, Module) -> any()

Stop the module in a host, and forget its configuration.

stop_module_keep_config/2

stop_module_keep_config(Host, Module) -> any()

Stop the module in a host, but keep its configuration. As the module configuration is kept in the Mnesia local_config table, when ejabberd is restarted the module will be started again. This function is useful when ejabberd is being stopped and it stops all modules.

wait_for_process/1 *

wait_for_process(Process) -> any()

wait_for_stop/2 *

wait_for_stop(Process, MonitorReference) -> any()

wait_for_stop1/1 *

wait_for_stop1(MonitorReference) -> any()


Generated by EDoc, May 27 2013, 07:15:12.