diff options
| author | Michael Bridgen <mikeb@lshift.net> | 2010-01-15 17:18:03 +0000 |
|---|---|---|
| committer | Michael Bridgen <mikeb@lshift.net> | 2010-01-15 17:18:03 +0000 |
| commit | a34e9313713a20eebaacc564977323c27708cbca (patch) | |
| tree | 48eba1e4cf72bb5faf6c80a636cb8611bdc3e4df /include | |
| parent | 27c7662298ef60b2406090d764256ac55fd2b850 (diff) | |
| download | rabbitmq-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.hrl | 6 |
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'). |
