diff options
author | Simon MacMullen <simon@rabbitmq.com> | 2011-04-15 13:33:36 +0100 |
---|---|---|
committer | Simon MacMullen <simon@rabbitmq.com> | 2011-04-15 13:33:36 +0100 |
commit | effab8c369e7427883687f367871befb86422b71 (patch) | |
tree | e8ac9055e123424f814869fa10fa3af4b1a09973 | |
parent | 9dc2bed83820ef17e9257177fe3d06a2ec7c038c (diff) | |
download | rabbitmq-server-bug24050.tar.gz |
Symmetry, specs.bug24050
-rw-r--r-- | src/rabbit_direct.erl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/rabbit_direct.erl b/src/rabbit_direct.erl index df422c15..0dac18d1 100644 --- a/src/rabbit_direct.erl +++ b/src/rabbit_direct.erl @@ -26,7 +26,7 @@ -spec(boot/0 :: () -> 'ok'). -spec(connect/5 :: (binary(), binary(), binary(), rabbit_types:protocol(), - term()) -> + rabbit_event:event_props()) -> {'ok', {rabbit_types:user(), rabbit_framing:amqp_table()}}). -spec(start_channel/8 :: @@ -34,7 +34,7 @@ rabbit_types:user(), rabbit_types:vhost(), rabbit_framing:amqp_table(), pid()) -> {'ok', pid()}). --spec(disconnect/1 :: (pid()) -> 'ok'). +-spec(disconnect/1 :: (rabbit_event:event_props()) -> 'ok'). -endif. @@ -82,5 +82,5 @@ start_channel(Number, ClientChannelPid, ConnPid, Protocol, User, VHost, Capabilities, Collector}]), {ok, ChannelPid}. -disconnect(Pid) -> - rabbit_event:notify(connection_closed, [{pid, Pid}]). +disconnect(Infos) -> + rabbit_event:notify(connection_closed, Infos). |