gproc_bcast.md 1.8 KB

#Module gproc_bcast#

Gproc message broadcast server This module is used to support gproc:bcast(Key, Msg).

Behaviours: gen_server.

Authors: Ulf Wiger (ulf@wiger.net).

##Description##

gproc:bcast/2 allows for e.g. distributed publish/subscribe, without having to resort to global property registration. To ensure that erlang's message ordering guarantees are kept, all sends are channeled through a broadcast server on each node.

##Function Index##

code_change/3
handle_call/3
handle_cast/2
handle_info/2
init/1
start_link/0
terminate/2

##Function Details##

###code_change/3##

code_change(X1, S, X3) -> any()

###handle_call/3##

handle_call(X1, X2, S) -> any()

###handle_cast/2##

handle_cast(X1, S) -> any()

###handle_info/2##

handle_info(X1, S) -> any()

###init/1##

init(X1) -> any()

###start_link/0##

start_link() -> any()

###terminate/2##

terminate(X1, X2) -> any()