From ee477a65e6ac9532a27cdf589df6d9aba7d97796 Mon Sep 17 00:00:00 2001 From: Ted Ross Date: Fri, 2 Oct 2009 17:45:58 +0000 Subject: QMF Fixes: - In ruby: waitForStable => wait_for_stable - Setting an unknown attribute on connection settings now throws an exception - Added connected? accessor to Connection git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@821109 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/include/qmf/engine/ConnectionSettings.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'cpp/include') diff --git a/cpp/include/qmf/engine/ConnectionSettings.h b/cpp/include/qmf/engine/ConnectionSettings.h index 33f7c85a94..36312400b1 100644 --- a/cpp/include/qmf/engine/ConnectionSettings.h +++ b/cpp/include/qmf/engine/ConnectionSettings.h @@ -79,8 +79,10 @@ namespace engine { * * @param value Reference to a value to be stored as the attribute. The type of the value * is specific to the key. + * + * @return True if success, False if invalid attribute */ - QMFE_EXTERN void setAttr(const char* key, const Value& value); + QMFE_EXTERN bool setAttr(const char* key, const Value& value); /** * Get the value of an attribute. -- cgit v1.2.1