From e46939c93ba0682d74f025eeec7bdb88229b4277 Mon Sep 17 00:00:00 2001 From: Ted Ross Date: Fri, 4 Feb 2011 08:22:30 +0000 Subject: Added missing even handling in the console. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1067111 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/bindings/qmf2/examples/python/find_agents.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'cpp/bindings/qmf2/examples/python') diff --git a/cpp/bindings/qmf2/examples/python/find_agents.py b/cpp/bindings/qmf2/examples/python/find_agents.py index 15cc83649c..5fd71b3f1c 100644 --- a/cpp/bindings/qmf2/examples/python/find_agents.py +++ b/cpp/bindings/qmf2/examples/python/find_agents.py @@ -37,6 +37,9 @@ class FindAgents(qmf2.ConsoleHandler): def agentSchemaUpdated(self, agent): print "Agent Schema Updated: %r" % agent + def eventRaised(self, agent, data, timestamp, severity): + print "Event: data=%r time=%d sev=%d" % (data.getProperties(), timestamp, severity) + url = "localhost" -- cgit v1.2.1