summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/client/Connection.h
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2009-02-12 19:01:51 +0000
committerAlan Conway <aconway@apache.org>2009-02-12 19:01:51 +0000
commitbffd507d565f4030407dc3d998f0e7ead2b39aa7 (patch)
tree2b2ee44392365ad6253d8d4cabbe6eaf2d80ab0b /cpp/src/qpid/client/Connection.h
parentd066e62f23cf2019ca608116e5d2a61a8b36c281 (diff)
downloadqpid-python-bffd507d565f4030407dc3d998f0e7ead2b39aa7.tar.gz
Cluster security support:
- Set correct user ID on update connections. - Allow configuration of user, pass and mechanism used for update connections. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@743839 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/client/Connection.h')
-rw-r--r--cpp/src/qpid/client/Connection.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/cpp/src/qpid/client/Connection.h b/cpp/src/qpid/client/Connection.h
index ed984ccb42..03631ef56f 100644
--- a/cpp/src/qpid/client/Connection.h
+++ b/cpp/src/qpid/client/Connection.h
@@ -107,6 +107,18 @@ class Connection
const std::string& virtualhost = "/", uint16_t maxFrameSize=65535);
/**
+ * Opens a connection to a broker using a URL.
+ * If the URL contains multiple addresses, try each in turn
+ * till connection is successful.
+ *
+ * @url address of the broker to connect to.
+ *
+ * @param settings used for any settings not provided by the URL.
+ * Settings provided by the url (e.g. host, port) are ignored.
+ */
+ void open(const Url& url, const ConnectionSettings& settings);
+
+ /**
* Opens a connection to a broker.
*
* @param the settings to use (host, port etc). @see ConnectionSettings.