summaryrefslogtreecommitdiff
path: root/qpid/cpp/examples/qmf-agent/example.cpp
diff options
context:
space:
mode:
authorTed Ross <tross@apache.org>2008-09-10 19:14:01 +0000
committerTed Ross <tross@apache.org>2008-09-10 19:14:01 +0000
commitf64522fbecc560ad4d0335fe95f4c294760232b0 (patch)
tree4a3f9c314db92a7ed573f0280a4a8f7a83ed1946 /qpid/cpp/examples/qmf-agent/example.cpp
parented35819acfafa18730802532ca581c51d1be3854 (diff)
downloadqpid-python-f64522fbecc560ad4d0335fe95f4c294760232b0.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@693933 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/examples/qmf-agent/example.cpp')
-rw-r--r--qpid/cpp/examples/qmf-agent/example.cpp4
1 files changed, 2 insertions, 2 deletions
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);