summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMichael Bridgen <mikeb@lshift.net>2010-01-14 13:23:59 +0000
committerMichael Bridgen <mikeb@lshift.net>2010-01-14 13:23:59 +0000
commit86fb3e2f089653d3951bd564633eb5c7ae156ad1 (patch)
tree63aed86c356425a6081404d81e9972df929d44c4 /include
parent2778cb7181909ab5efbd46d5191ade2b85718c66 (diff)
downloadrabbitmq-server-git-86fb3e2f089653d3951bd564633eb5c7ae156ad1.tar.gz
Change to (almost) the mooted API, and support recover and validate.
Diffstat (limited to 'include')
-rw-r--r--include/rabbit_exchange_behaviour_spec.hrl3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/rabbit_exchange_behaviour_spec.hrl b/include/rabbit_exchange_behaviour_spec.hrl
index 7e965fc796..9cd47aaf6b 100644
--- a/include/rabbit_exchange_behaviour_spec.hrl
+++ b/include/rabbit_exchange_behaviour_spec.hrl
@@ -32,8 +32,9 @@
-spec(description/0 :: () -> [{atom(), any()}]).
-spec(publish/2 :: (exchange(), delivery()) -> {routing_result(), [pid()]}).
--spec(declare/1 :: (exchange()) -> 'ok').
+-spec(validate/1 :: (exchange()) -> 'ok').
-spec(init/1 :: (exchange()) -> 'ok').
+-spec(recover/1 :: (exchange()) -> 'ok').
-spec(delete/1 :: (exchange()) -> 'ok').
-spec(add_binding/2 :: (exchange(), binding()) -> 'ok').
-spec(delete_binding/2 :: (exchange(), binding()) -> 'ok').