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 | 6b455d864349e7b90369fd424051210599fc9565 (patch) | |
| tree | d2ee978f7f82a5338f773ee763eff7a86bf4af23 /qpid/cpp/bindings/qmf2/examples/ruby | |
| parent | ab57937c2f608245bae1671e52620cd4daf96414 (diff) | |
| download | qpid-python-6b455d864349e7b90369fd424051210599fc9565.tar.gz | |
Added missing even handling in the console.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1067111 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/bindings/qmf2/examples/ruby')
| -rw-r--r-- | qpid/cpp/bindings/qmf2/examples/ruby/find_agents.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/qpid/cpp/bindings/qmf2/examples/ruby/find_agents.rb b/qpid/cpp/bindings/qmf2/examples/ruby/find_agents.rb index deefd5491a..712e5007be 100644 --- a/qpid/cpp/bindings/qmf2/examples/ruby/find_agents.rb +++ b/qpid/cpp/bindings/qmf2/examples/ruby/find_agents.rb @@ -41,6 +41,10 @@ class FindAgents < Qmf2::ConsoleHandler def agent_schema_updated(agent) puts "Agent with new Schemata: #{agent.to_s}" end + + def event_raised(agent, data, timestamp, severity) + puts "Event Raised time=#{timestamp} sev=#{severity} data=#{data.properties}" + end end |
