summaryrefslogtreecommitdiff
path: root/src/rabbit_basic.erl
diff options
context:
space:
mode:
authorAlexandru Scvortov <alexandru@rabbitmq.com>2010-08-03 13:06:49 +0100
committerAlexandru Scvortov <alexandru@rabbitmq.com>2010-08-03 13:06:49 +0100
commitf59e41c9fa0c3e4e1958ca5d404f5053b12d5bb3 (patch)
tree1300902310cacf30835582ba25d071c3a53b7ab1 /src/rabbit_basic.erl
parent51811f3b5e72d5c7752bb3760c0b008aa6fd0e17 (diff)
downloadrabbitmq-server-f59e41c9fa0c3e4e1958ca5d404f5053b12d5bb3.tar.gz
updated specs
Diffstat (limited to 'src/rabbit_basic.erl')
-rw-r--r--src/rabbit_basic.erl10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/rabbit_basic.erl b/src/rabbit_basic.erl
index b536fa79..c1445a0c 100644
--- a/src/rabbit_basic.erl
+++ b/src/rabbit_basic.erl
@@ -49,12 +49,10 @@
| rabbit_types:error('not_found'))).
-spec(publish/1 ::
- (rabbit_types:delivery()) -> publish_result() |
- rabbit_types:connection_exit()).
+ (rabbit_types:delivery()) -> publish_result()).
-spec(delivery/4 ::
(boolean(), boolean(), rabbit_types:maybe(rabbit_types:txn()),
- rabbit_types:message())
- -> rabbit_types:delivery()).
+ rabbit_types:message()) -> rabbit_types:delivery()).
-spec(message/4 ::
(rabbit_exchange:name(), rabbit_router:routing_key(),
properties_input(), binary())
@@ -64,12 +62,12 @@
-spec(publish/4 ::
(rabbit_exchange:name(), rabbit_router:routing_key(),
properties_input(), binary())
- -> publish_result() | rabbit_types:connection_exit()).
+ -> publish_result()).
-spec(publish/7 ::
(rabbit_exchange:name(), rabbit_router:routing_key(),
boolean(), boolean(), rabbit_types:maybe(rabbit_types:txn()),
properties_input(), binary())
- -> publish_result() | rabbit_types:connection_exit()).
+ -> publish_result()).
-spec(build_content/2 ::
(rabbit_framing:amqp_property_record(), binary())
-> rabbit_types:content()).