You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by mc...@apache.org on 2014/04/22 15:19:38 UTC
svn commit: r1589121 - in /qpid/proton/trunk:
examples/messenger/ruby/passive_recv.rb
proton-c/bindings/ruby/lib/qpid_proton/selectable.rb
Author: mcpierce
Date: Tue Apr 22 13:19:38 2014
New Revision: 1589121
URL: http://svn.apache.org/r1589121
Log:
PROTON-531: Removed Selectable.killable? from Ruby bindings
The API is unnecessary.
Modified:
qpid/proton/trunk/examples/messenger/ruby/passive_recv.rb
qpid/proton/trunk/proton-c/bindings/ruby/lib/qpid_proton/selectable.rb
Modified: qpid/proton/trunk/examples/messenger/ruby/passive_recv.rb
URL: http://svn.apache.org/viewvc/qpid/proton/trunk/examples/messenger/ruby/passive_recv.rb?rev=1589121&r1=1589120&r2=1589121&view=diff
==============================================================================
--- qpid/proton/trunk/examples/messenger/ruby/passive_recv.rb (original)
+++ qpid/proton/trunk/examples/messenger/ruby/passive_recv.rb Tue Apr 22 13:19:38 2014
@@ -62,7 +62,7 @@ loop do
# wait for incoming messages
sel = messenger.selectable
while !sel.nil?
- if sel.terminal? && sel.killable?
+ if sel.terminal?
selectables.delete(sel.fileno)
read_array.delete(sel)
write_array.delete(sel)
Modified: qpid/proton/trunk/proton-c/bindings/ruby/lib/qpid_proton/selectable.rb
URL: http://svn.apache.org/viewvc/qpid/proton/trunk/proton-c/bindings/ruby/lib/qpid_proton/selectable.rb?rev=1589121&r1=1589120&r2=1589121&view=diff
==============================================================================
--- qpid/proton/trunk/proton-c/bindings/ruby/lib/qpid_proton/selectable.rb (original)
+++ qpid/proton/trunk/proton-c/bindings/ruby/lib/qpid_proton/selectable.rb Tue Apr 22 13:19:38 2014
@@ -113,8 +113,6 @@ module Qpid
@freed
end
- def killable?; !@impl.nil?; end
-
private
def check_is_initialized
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org