summaryrefslogtreecommitdiff
path: root/qpid/cpp/bindings/qmf/ruby
diff options
context:
space:
mode:
authorTed Ross <tross@apache.org>2009-11-03 21:08:58 +0000
committerTed Ross <tross@apache.org>2009-11-03 21:08:58 +0000
commitb6c399944995c33ac199bec28f81a43c0bb52eaa (patch)
treea92b0c45ba410ce8f8007d90887c92ae0804cf1d /qpid/cpp/bindings/qmf/ruby
parentc93344c7da74411457a5eddd8cd2b4bf9e28a2d9 (diff)
downloadqpid-python-b6c399944995c33ac199bec28f81a43c0bb52eaa.tar.gz
QMF fixes:
- Added immediate notification of agent deletion - Fixed some issues with memory management between the wrapped client and the ruby wrapper git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@832557 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/bindings/qmf/ruby')
-rw-r--r--qpid/cpp/bindings/qmf/ruby/qmf.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/qpid/cpp/bindings/qmf/ruby/qmf.rb b/qpid/cpp/bindings/qmf/ruby/qmf.rb
index 41c2c4a1ee..68a5ae7755 100644
--- a/qpid/cpp/bindings/qmf/ruby/qmf.rb
+++ b/qpid/cpp/bindings/qmf/ruby/qmf.rb
@@ -456,7 +456,7 @@ module Qmf
attr_reader :impl, :agent_key
def initialize(impl=nil)
if impl
- @impl = impl
+ @impl = Qmfengine::ObjectId.new(impl)
else
@impl = Qmfengine::ObjectId.new
end
@@ -594,7 +594,7 @@ module Qmf
attr_reader :impl
def initialize(kwargs = {})
if kwargs.include?(:impl)
- @impl = kwargs[:impl]
+ @impl = Qmfengine::Query.new(kwargs[:impl])
else
package = ''
if kwargs.include?(:key)