Copyright © 2007-2015 Zuse Institute Berlin
Version: $Id$
Behaviours: gen_component.
Authors: Thorsten Schuett (schuett@zib.de).
message() = {register_trigger} | {register} | {web_debug_info, Requestor :: comm:erl_local_pid()}
state_active() = ok
state_inactive() = inactive
activate/0 | Activates the re-register process. |
deactivate/0 | Deactivates the re-register process. |
init/1 | Initialises the module with an uninitialized state. |
on_active/2 | |
on_inactive/2 | |
start_gen_component/5 | |
start_link/1 | Starts a re-register process, registers it with the process dictionary and returns its pid for use by a supervisor. |
start_gen_component(Module :: module(), Handler :: gen_component:handler(), Args :: term(), Options :: [gen_component:option()], Self :: pid()) -> no_return() | ok
activate() -> ok
Activates the re-register process. If not activated, it will queue most messages without processing them.
deactivate() -> ok
Deactivates the re-register process.
start_link(DHTNodeGroup :: pid_groups:groupname()) -> {ok, pid()}
Starts a re-register process, registers it with the process dictionary and returns its pid for use by a supervisor.
init(X1 :: []) -> state_inactive()
Initialises the module with an uninitialized state.
on_inactive(Msg :: message(), State :: state_inactive()) -> state_inactive()
on_active(X1 :: message(), State :: state_active()) -> state_active()
Generated by EDoc, Sep 11 2020, 15:24:43.