[libanyevent-rabbitmq-perl] 71/151: More docs

Damyan Ivanov dmn at moszumanska.debian.org
Thu Jan 16 11:03:05 UTC 2014


This is an automated email from the git hooks/post-receive script.

dmn pushed a commit to annotated tag debian/1.12-1
in repository libanyevent-rabbitmq-perl.

commit 5cdde611149ed81a22f6e39351f1e7452e70fd97
Author: Tomas Doran <bobtfish at bobtfish.net>
Date:   Wed Feb 2 10:30:57 2011 +0000

    More docs
---
 lib/AnyEvent/RabbitMQ/Channel.pm | 44 ++++++++++++++++++++++++++++++++++++++--
 1 file changed, 42 insertions(+), 2 deletions(-)

diff --git a/lib/AnyEvent/RabbitMQ/Channel.pm b/lib/AnyEvent/RabbitMQ/Channel.pm
index adb7f36..d9ec862 100644
--- a/lib/AnyEvent/RabbitMQ/Channel.pm
+++ b/lib/AnyEvent/RabbitMQ/Channel.pm
@@ -723,14 +723,56 @@ The name of the exchange
 
 =head2 bind_queue
 
+Binds a queue to an exchange, with a routing key.
+
+Arguments:
+
+=over
+
+=item queue
+
+The name of the queue to bind
+
+=item exchange
+
+The name of the exchange to bind
+
+=item routing_key
+
+The routing key to bind with
+
 =head2 unbind_queue
 
 =head2 purge_queue
 
+Flushes the contents of a queue.
+
 =head2 delete_queue
 
+Deletes a queue. The queue may not have any active consumers.
+
 =head2 publish
 
+Publish a message to an exchange
+
+Arguments:
+
+=over
+
+=item body
+
+The text body of the message to send.
+
+=item exchange
+
+The name of the exchange to send the message to.
+
+=item routing_key
+
+The routing key with which to publish the message.
+
+=back
+
 =head2 consume
 
 Subscribe to consume messages from a queue.
@@ -816,8 +858,6 @@ This callback will be called if an error is signaled on this channel.
 
 =head2 rollback_tx
 
-
-
 =head1 AUTHOR, COPYRIGHT AND LICENSE
 
 See L<AnyEvent::RabbitMQ> for author(s), copyright and license.

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libanyevent-rabbitmq-perl.git



More information about the Pkg-perl-cvs-commits mailing list