PROTON-781: Added Reactor and Task to the ClassWrapper

Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/ac46b78f
Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/ac46b78f
Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/ac46b78f

Branch: refs/heads/PROTON-781-ruby-reactor-apis
Commit: ac46b78fa0e44df97cb499cff9942c7f00de0a31
Parents: a7f9d4b
Author: Darryl L. Pierce <mcpie...@gmail.com>
Authored: Wed Mar 4 10:54:54 2015 -0500
Committer: Darryl L. Pierce <mcpie...@gmail.com>
Committed: Thu Jun 18 09:27:20 2015 -0400

----------------------------------------------------------------------
 proton-c/bindings/ruby/lib/util/class_wrapper.rb | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/ac46b78f/proton-c/bindings/ruby/lib/util/class_wrapper.rb
----------------------------------------------------------------------
diff --git a/proton-c/bindings/ruby/lib/util/class_wrapper.rb 
b/proton-c/bindings/ruby/lib/util/class_wrapper.rb
index 134f655..dec16e9 100644
--- a/proton-c/bindings/ruby/lib/util/class_wrapper.rb
+++ b/proton-c/bindings/ruby/lib/util/class_wrapper.rb
@@ -36,6 +36,8 @@ module Qpid::Proton::Util
         "pn_delivery" => proc {|x| 
Qpid::Proton::Delivery.wrap(Cproton.pn_cast_pn_delivery(x))},
         "pn_transport" => proc {|x| 
Qpid::Proton::Transport.wrap(Cproton.pn_cast_pn_transport(x))},
         "pn_selectable" => proc {|x| 
Qpid::Proton::Selectable.wrap(Cproton.pn_cast_pn_selectable(x))},
+        "pn_reactor" => proc {|x| 
Qpid::Proton::Reactor::Reactor.wrap(Cproton.pn_cast_pn_reactor(x))},
+        "pn_task" => proc {|x| 
Qpid::Proton::Reactor::Task.wrap(Cproton.pn_cast_pn_task(x))},
       }
 
     def class_wrapper(clazz, c_impl, &block)


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@qpid.apache.org
For additional commands, e-mail: commits-h...@qpid.apache.org

Reply via email to