Copyright © 2007-2015 Zuse Institute Berlin
Version: $Id$
Behaviours: gen_component.
Authors: Thorsten Schuett (schuett@zib.de).
message() =
{fd_notify,
fd:event(),
PID :: comm:mypid(),
Reason :: fd:reason()} |
{get_list, SourcePid :: comm:mypid()} |
{get_list_length, SourcePid :: comm:mypid()} |
{register, Node :: node:node_type()}
state() = gb_trees:tree(comm:mypid(), node:node_type())
| init/1 | |
| node_list/0 | trigger a message with all nodes known to the mgmt server. |
| node_list/1 | |
| number_of_nodes/0 | trigger a message with the number of nodes known to the mgmt server. |
| on/2 | |
| start_gen_component/5 | |
| start_link/2 | starts the server; called by the mgmt supervisor. |
start_gen_component(Module :: module(),
Handler :: gen_component:handler(),
Args :: term(),
Options :: [gen_component:option()],
Self :: pid()) ->
no_return() | ok
number_of_nodes() -> ok
trigger a message with the number of nodes known to the mgmt server
node_list() -> ok
trigger a message with all nodes known to the mgmt server
node_list(UseShepherd :: boolean()) -> ok
init(Options :: [tuple()]) -> state()
start_link(ServiceGroup :: pid_groups:groupname(), Options :: [tuple()]) -> {ok, pid()}
starts the server; called by the mgmt supervisor
See also: sup_scalaris.
Generated by EDoc, Apr 22 2017, 16:02:52.