summaryrefslogtreecommitdiff
path: root/cpp/bindings/qmf/ruby
diff options
context:
space:
mode:
authorTed Ross <tross@apache.org>2009-08-31 20:18:48 +0000
committerTed Ross <tross@apache.org>2009-08-31 20:18:48 +0000
commit13b692aac42bc0e896a31c176daf79920a82ea5e (patch)
treea2b1b18ae6e3667afae4ce5f7d3331f7d9188057 /cpp/bindings/qmf/ruby
parenta7d34ad1929e3d63e5cab290090d60920dfdd32c (diff)
downloadqpid-python-13b692aac42bc0e896a31c176daf79920a82ea5e.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/qpid@809728 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/bindings/qmf/ruby')
-rw-r--r--cpp/bindings/qmf/ruby/qmf.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/bindings/qmf/ruby/qmf.rb b/cpp/bindings/qmf/ruby/qmf.rb
index 38c42b5aa7..2df6e8646d 100644
--- a/cpp/bindings/qmf/ruby/qmf.rb
+++ b/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