diff options
| author | Ted Ross <tross@apache.org> | 2009-08-31 20:18:48 +0000 |
|---|---|---|
| committer | Ted Ross <tross@apache.org> | 2009-08-31 20:18:48 +0000 |
| commit | 057d6d27d53a55ba19eaff8487727ab5d9df2768 (patch) | |
| tree | c5df8c9a1ab3fa771a230f4a267c1379c9db2659 /qpid/cpp/bindings/qmf/ruby | |
| parent | 1f34f75150deddcae3b8717c974b4dcaf7e1b974 (diff) | |
| download | qpid-python-057d6d27d53a55ba19eaff8487727ab5d9df2768.tar.gz | |
Added protocol module for codepoint definitions and header handling.
Fixed a deadlock case in ResilientConnection.
Added more code to the ConsoleEngine implementation.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@809728 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/bindings/qmf/ruby')
| -rw-r--r-- | qpid/cpp/bindings/qmf/ruby/qmf.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/qpid/cpp/bindings/qmf/ruby/qmf.rb b/qpid/cpp/bindings/qmf/ruby/qmf.rb index 38c42b5aa7..2df6e8646d 100644 --- a/qpid/cpp/bindings/qmf/ruby/qmf.rb +++ b/qpid/cpp/bindings/qmf/ruby/qmf.rb @@ -536,7 +536,7 @@ module Qmf class Console attr_reader :impl - def initialize(handler, kwargs={}) + def initialize(handler = nil, kwargs={}) @handler = handler @impl = Qmfengine::ConsoleEngine.new @event = Qmfengine::ConsoleEvent.new @@ -587,6 +587,7 @@ module Qmf valid = @impl.getEvent(@event) while valid count += 1 + puts "Console Event: #{@event.kind}" case @event.kind when Qmfengine::ConsoleEvent::AGENT_ADDED when Qmfengine::ConsoleEvent::AGENT_DELETED |
