From 330157285fc453a3b07b251cb90e2d167eab2fdb Mon Sep 17 00:00:00 2001 From: Jonathan Robie Date: Fri, 21 Aug 2009 16:58:31 +0000 Subject: Added documentation for AMQP 0-10 URL format. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@806641 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/include/qpid/client/Connection.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'cpp/include') diff --git a/cpp/include/qpid/client/Connection.h b/cpp/include/qpid/client/Connection.h index b7b967d232..0f5999cdcc 100644 --- a/cpp/include/qpid/client/Connection.h +++ b/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 = + * port = number]]> + * */ + class Connection { framing::ProtocolVersion version; -- cgit v1.2.1