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 | ea7f63fddad0acfff826c971a303c3e9293f0aec (patch) | |
| tree | e8ac9055e123424f814869fa10fa3af4b1a09973 | |
| parent | d4c484efcc3b9080e54223c49f51d9870ca4d6b6 (diff) | |
| download | rabbitmq-server-git-ea7f63fddad0acfff826c971a303c3e9293f0aec.tar.gz | |
Symmetry, specs.
| -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 df422c15d7..0dac18d1fe 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). |
