From f28b293af3ab34c1bcbf0cc0da4df9eb047ca1f9 Mon Sep 17 00:00:00 2001 From: Emiel Bruijntjes Date: Tue, 7 Jan 2014 02:25:23 -0800 Subject: [PATCH] Updated readme --- README.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c306bf6..0cf6d3c 100644 --- a/README.md +++ b/README.md @@ -304,9 +304,18 @@ tables are used by many methods. * @param flags combination of flags * @param arguments optional arguments */ -bool declareQueue(const std::string &name, int flags, const Table &arguments); +bool declareQueue(const std::string &name, int flags, const AMQP::Table &arguments); +bool declareQueue(const std::string &name, const AMQP::Table &arguments); +bool declareQueue(const std::string &name, int flags = 0); +bool declareQueue(int flags, const AMQP::Table &arguments); +bool declareQueue(const AMQP::Table &arguments); +bool declareQueue(int flags = 0); ```` +As you can see, the method comes in many forms, and it is up to you to choose +the one that is most appropriate. We now take a look at the most complete +one, the method with three parameters. + Many methods in the Channel class accept an integer parameter named 'flags'. This is a variable in which you can set a number of options, by summing up all the options that are described in the documentation. If you for example