From 51ea054146d0af71640bd44e8e75494847216a31 Mon Sep 17 00:00:00 2001 From: Ted Ross Date: Wed, 10 Sep 2008 19:14:01 +0000 Subject: 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 --- cpp/examples/qmf-agent/example.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cpp/examples') 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); -- cgit v1.2.1