[Erlang Systems]

global_group

MODULE

MODULE SUMMARY

DESCRIPTION

EXPORTS

global_groups() -> {OwnGroupName, [OtherGroupName]} | undefined

info() -> [{state, State}, {own_group_name, atom()}, {own_group_nodes, [Node]}, {synced_nodes, [Node]}, {sync_error, [Node]}, {no_contact, [Node]}, {other_groups, Other_grps}, {monitoring, [pid()]}]

monitor_nodes(Flag) -> ok

own_nodes() -> [Node] | {error, ErrorMsg}

registered_names({node, Node}) -> [Name] | {error, ErrorMsg}
registered_names({group, GlobalGroupName}) -> [Name]

send(Name, Msg) -> Pid | {badarg, Msg} | {error, ErrorMsg}
send({node, Node}, Name, Msg) -> Pid | {badarg, Msg} | {error, ErrorMsg}
send({group, GlobalGroupName}, Name, Msg) -> Pid | {badarg, Msg} | {error, ErrorMsg}

sync() -> ok

whereis_name(Name) -> Pid | undefined | {error, ErrorMsg}
whereis_name({node, Node}, Name) -> Pid | undefined | {error, ErrorMsg}
whereis_name({group, GlobalGroupName}, Name) -> Pid | undefined | {error, ErrorMsg}

start()
start_link() -> {ok, Pid} | {error, Reason}

stop() -> void()

NOTE

SEE ALSO

AUTHORS


kernel 2.6.1
Copyright © 1991-2000 Ericsson Utvecklings AB