summaryrefslogtreecommitdiff
path: root/cpp/include
diff options
context:
space:
mode:
authorTed Ross <tross@apache.org>2009-10-02 17:45:58 +0000
committerTed Ross <tross@apache.org>2009-10-02 17:45:58 +0000
commitee477a65e6ac9532a27cdf589df6d9aba7d97796 (patch)
tree7699a50a7a5bc3fdf2a3550cb288837a92dd0fba /cpp/include
parentcc6ec1079431b7eb45031d36f5a6ad5e9a6675ac (diff)
downloadqpid-python-ee477a65e6ac9532a27cdf589df6d9aba7d97796.tar.gz
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
Diffstat (limited to 'cpp/include')
-rw-r--r--cpp/include/qmf/engine/ConnectionSettings.h4
1 files changed, 3 insertions, 1 deletions
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.