summaryrefslogtreecommitdiff
path: root/qpid/cpp
diff options
context:
space:
mode:
authorJonathan Robie <jonathan@apache.org>2009-08-21 16:58:31 +0000
committerJonathan Robie <jonathan@apache.org>2009-08-21 16:58:31 +0000
commit04a39245e7c60e50be02bcc576f05fc33e9a568b (patch)
tree7534b233eb2e1d8d3bfc4188fb1cd210440775e9 /qpid/cpp
parent32418800d0030558890aeeca6bb7c8b9cc3b45fc (diff)
downloadqpid-python-04a39245e7c60e50be02bcc576f05fc33e9a568b.tar.gz
Added documentation for AMQP 0-10 URL format.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@806641 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp')
-rw-r--r--qpid/cpp/include/qpid/client/Connection.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/qpid/cpp/include/qpid/client/Connection.h b/qpid/cpp/include/qpid/client/Connection.h
index b7b967d232..0f5999cdcc 100644
--- a/qpid/cpp/include/qpid/client/Connection.h
+++ b/qpid/cpp/include/qpid/client/Connection.h
@@ -43,7 +43,21 @@ class ConnectionImpl;
*
* \ingroup clientapi
*
+ * Some methods use an AMQP 0-10 URL to specify connection parameters.
+ * This is defined in the AMQP 0-10 specification (http://jira.amqp.org/confluence/display/AMQP/AMQP+Specification).
+ *
+ * amqp_url = "amqp:" prot_addr_list
+ * prot_addr_list = [prot_addr ","]* prot_addr
+ * prot_addr = tcp_prot_addr | tls_prot_addr
+ *
+ * tcp_prot_addr = tcp_id tcp_addr
+ * tcp_id = "tcp:" | ""
+ * tcp_addr = [host [":" port] ]
+ * host = <as per http://www.ietf.org/rfc/rfc3986.txt>
+ * port = number]]>
+ *
*/
+
class Connection
{
framing::ProtocolVersion version;