summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMichael Bridgen <mikeb@lshift.net>2010-01-15 17:18:03 +0000
committerMichael Bridgen <mikeb@lshift.net>2010-01-15 17:18:03 +0000
commita34e9313713a20eebaacc564977323c27708cbca (patch)
tree48eba1e4cf72bb5faf6c80a636cb8611bdc3e4df /include
parent27c7662298ef60b2406090d764256ac55fd2b850 (diff)
downloadrabbitmq-server-git-a34e9313713a20eebaacc564977323c27708cbca.tar.gz
Change to different exchange callbacks. Requires a bit more
calculation in delete_queue_bindings and recover to collect the bindings.
Diffstat (limited to 'include')
-rw-r--r--include/rabbit_exchange_behaviour_spec.hrl6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/rabbit_exchange_behaviour_spec.hrl b/include/rabbit_exchange_behaviour_spec.hrl
index 9cd47aaf6b..a32b09ab84 100644
--- a/include/rabbit_exchange_behaviour_spec.hrl
+++ b/include/rabbit_exchange_behaviour_spec.hrl
@@ -33,9 +33,9 @@
-spec(description/0 :: () -> [{atom(), any()}]).
-spec(publish/2 :: (exchange(), delivery()) -> {routing_result(), [pid()]}).
-spec(validate/1 :: (exchange()) -> 'ok').
--spec(init/1 :: (exchange()) -> 'ok').
--spec(recover/1 :: (exchange()) -> 'ok').
--spec(delete/1 :: (exchange()) -> 'ok').
+-spec(create/1 :: (exchange()) -> 'ok').
+-spec(recover/2 :: (exchange(), list(binding())) -> 'ok').
+-spec(delete/2 :: (exchange(), list(binding())) -> 'ok').
-spec(add_binding/2 :: (exchange(), binding()) -> 'ok').
-spec(delete_binding/2 :: (exchange(), binding()) -> 'ok').