diff options
author | Ted Ross <tross@apache.org> | 2008-09-10 19:14:01 +0000 |
---|---|---|
committer | Ted Ross <tross@apache.org> | 2008-09-10 19:14:01 +0000 |
commit | 51ea054146d0af71640bd44e8e75494847216a31 (patch) | |
tree | f262995946ace31dbb3d3660db9df58e4f412ac3 /cpp/examples/qmf-agent/example.cpp | |
parent | 0b778c328001d25b3118450c0bfabb3e0b918971 (diff) | |
download | qpid-python-51ea054146d0af71640bd44e8e75494847216a31.tar.gz |
QPID-1279 Implementations of management methods can now return error strings along with its own error codes
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@693933 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/examples/qmf-agent/example.cpp')
-rw-r--r-- | cpp/examples/qmf-agent/example.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/examples/qmf-agent/example.cpp b/cpp/examples/qmf-agent/example.cpp index c8d63a62b9..3422704d60 100644 --- a/cpp/examples/qmf-agent/example.cpp +++ b/cpp/examples/qmf-agent/example.cpp @@ -65,7 +65,7 @@ public: { return mgmtObject; } void doLoop(); - status_t ManagementMethod (uint32_t methodId, Args& args); + status_t ManagementMethod (uint32_t methodId, Args& args, string& text); }; class ChildClass : public Manageable @@ -116,7 +116,7 @@ void CoreClass::doLoop() } } -Manageable::status_t CoreClass::ManagementMethod(uint32_t methodId, Args& args) +Manageable::status_t CoreClass::ManagementMethod(uint32_t methodId, Args& args, string& /*text*/) { Mutex::ScopedLock _lock(vectorLock); |