diff options
author | Ted Ross <tross@apache.org> | 2008-10-07 21:47:35 +0000 |
---|---|---|
committer | Ted Ross <tross@apache.org> | 2008-10-07 21:47:35 +0000 |
commit | b56f731ad9d5d4b4b21f953dbd1103662b3d0b06 (patch) | |
tree | 35a8f96fd5dc029c256bdda622c2a70b8ac2b8ec /qpid/cpp/examples/qmf-agent/example.cpp | |
parent | 15e9b9a0d064e142e6e971475338c0fff72579ad (diff) | |
download | qpid-python-b56f731ad9d5d4b4b21f953dbd1103662b3d0b06.tar.gz |
QPID-1327 - Event support for Management
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@702651 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/examples/qmf-agent/example.cpp')
-rw-r--r-- | qpid/cpp/examples/qmf-agent/example.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/qpid/cpp/examples/qmf-agent/example.cpp b/qpid/cpp/examples/qmf-agent/example.cpp index 7c514b1010..e24e729e1d 100644 --- a/qpid/cpp/examples/qmf-agent/example.cpp +++ b/qpid/cpp/examples/qmf-agent/example.cpp @@ -26,6 +26,7 @@ #include "qmf/org/apache/qpid/agent/example/Parent.h" #include "qmf/org/apache/qpid/agent/example/Child.h" #include "qmf/org/apache/qpid/agent/example/ArgsParentCreate_child.h" +#include "qmf/org/apache/qpid/agent/example/EventChildCreated.h" #include "qmf/org/apache/qpid/agent/example/Package.h" #include <unistd.h> @@ -129,7 +130,7 @@ Manageable::status_t CoreClass::ManagementMethod(uint32_t methodId, Args& args, children.push_back(child); - mgmtObject->event_childCreated(ioArgs.i_name); + agent->raiseEvent(_qmf::EventChildCreated(ioArgs.i_name)); return STATUS_OK; } |