diff options
| author | Ted Ross <tross@apache.org> | 2011-02-04 08:22:30 +0000 |
|---|---|---|
| committer | Ted Ross <tross@apache.org> | 2011-02-04 08:22:30 +0000 |
| commit | e46939c93ba0682d74f025eeec7bdb88229b4277 (patch) | |
| tree | eb55184ad87bc9c31168bf955256959541fc117b /cpp/bindings/qmf2/python | |
| parent | e7f02a8b8b25d9fcce6525ccc5b794f8438995f0 (diff) | |
| download | qpid-python-e46939c93ba0682d74f025eeec7bdb88229b4277.tar.gz | |
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
Diffstat (limited to 'cpp/bindings/qmf2/python')
| -rw-r--r-- | cpp/bindings/qmf2/python/qmf2.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cpp/bindings/qmf2/python/qmf2.py b/cpp/bindings/qmf2/python/qmf2.py index 9bf464e155..61a5453f8e 100644 --- a/cpp/bindings/qmf2/python/qmf2.py +++ b/cpp/bindings/qmf2/python/qmf2.py @@ -173,6 +173,9 @@ class ConsoleHandler(Thread): elif event.getType() == cqmf2.CONSOLE_AGENT_SCHEMA_UPDATE: self.agentSchemaUpdated(Agent(event.getAgent())) + elif event.getType() == cqmf2.CONSOLE_EVENT: + self.eventRaised(Agent(event.getAgent()), Data(event.getData(0)), event.getTimestamp(), event.getSeverity()) + ## ## The following methods are intended to be overridden in a sub-class. They are ## handlers for events that occur on QMF consoles. |
