You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ac...@apache.org on 2017/09/01 15:03:44 UTC
[16/50] qpid-proton git commit: NO-JIRA: cpp: minor doc update for
connection options
NO-JIRA: cpp: minor doc update for connection options
Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/31c16db1
Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/31c16db1
Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/31c16db1
Branch: refs/heads/go1
Commit: 31c16db1286fca5c37f0e0853fe4d65bc7e534bd
Parents: b4e1dd0
Author: Alan Conway <ac...@redhat.com>
Authored: Fri Aug 11 12:00:46 2017 -0400
Committer: Alan Conway <ac...@redhat.com>
Committed: Fri Aug 11 12:00:46 2017 -0400
----------------------------------------------------------------------
proton-c/bindings/cpp/include/proton/connection_options.hpp | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/31c16db1/proton-c/bindings/cpp/include/proton/connection_options.hpp
----------------------------------------------------------------------
diff --git a/proton-c/bindings/cpp/include/proton/connection_options.hpp b/proton-c/bindings/cpp/include/proton/connection_options.hpp
index 9c7923e..2769a7e 100644
--- a/proton-c/bindings/cpp/include/proton/connection_options.hpp
+++ b/proton-c/bindings/cpp/include/proton/connection_options.hpp
@@ -108,10 +108,11 @@ class connection_options {
/// This will override any user name that is specified in the url
/// used for container::connect.
/// It will be ignored if the connection is created by container::listen as
- /// a listening connection has no user name.
+ /// a listening connection's identity is provided by the remote client.
PN_CPP_EXTERN connection_options& user(const std::string& user);
/// Set the password used to authenticate the connection
+ /// It will be ignored if the connection is created by container::listen.
PN_CPP_EXTERN connection_options& password(const std::string& pass);
/// @cond INTERNAL
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org