From f64522fbecc560ad4d0335fe95f4c294760232b0 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@693933 13f79535-47bb-0310-9956-ffa450edef68 --- qpid/cpp/examples/qmf-agent/example.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'qpid/cpp/examples/qmf-agent/example.cpp') diff --git a/qpid/cpp/examples/qmf-agent/example.cpp b/qpid/cpp/examples/qmf-agent/example.cpp index c8d63a62b9..3422704d60 100644 --- a/qpid/cpp/examples/qmf-agent/example.cpp +++ b/qpid/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