summaryrefslogtreecommitdiff
path: root/src/gm.erl
diff options
context:
space:
mode:
authorMatthew Sackman <matthew@rabbitmq.com>2011-02-23 13:50:38 +0000
committerMatthew Sackman <matthew@rabbitmq.com>2011-02-23 13:50:38 +0000
commit0b06530a5532549f7de8d57d624fac546961fb97 (patch)
tree827493c951daf439e9cea382fa7c85ff4e01cf22 /src/gm.erl
parent32d11d570edcf1ae20ef5806e23edca47ae00ad6 (diff)
parent245592bc7051cfcb16cfd0dff84085d1294e8146 (diff)
downloadrabbitmq-server-git-0b06530a5532549f7de8d57d624fac546961fb97.tar.gz
Merging bug23727 to bug23554
Diffstat (limited to 'src/gm.erl')
-rw-r--r--src/gm.erl15
1 files changed, 7 insertions, 8 deletions
diff --git a/src/gm.erl b/src/gm.erl
index 283b243171..b3fb7eca53 100644
--- a/src/gm.erl
+++ b/src/gm.erl
@@ -53,13 +53,12 @@
%% to create the tables required.
%%
%% start_link/3
-%% Provide the group name, the callback module name, and a list of any
-%% arguments you wish to be passed into the callback module's
-%% functions. The joined/1 will be called when we have joined the
-%% group, and the list of arguments will have appended to it a list of
-%% the current members of the group. See the comments in
-%% behaviour_info/1 below for further details of the callback
-%% functions.
+%% Provide the group name, the callback module name, and any arguments
+%% you wish to be passed into the callback module's functions. The
+%% joined/1 will be called when we have joined the group, and the list
+%% of arguments will have appended to it a list of the current members
+%% of the group. See the comments in behaviour_info/1 below for
+%% further details of the callback functions.
%%
%% leave/1
%% Provide the Pid. Removes the Pid from the group. The callback
@@ -421,7 +420,7 @@
-type(group_name() :: any()).
-spec(create_tables/0 :: () -> 'ok').
--spec(start_link/3 :: (group_name(), atom(), [any()]) ->
+-spec(start_link/3 :: (group_name(), atom(), any()) ->
{'ok', pid()} | {'error', any()}).
-spec(leave/1 :: (pid()) -> 'ok').
-spec(broadcast/2 :: (pid(), any()) -> 'ok').