[ https://issues.apache.org/jira/browse/PROTON-1064?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16273522#comment-16273522 ]
ASF subversion and git services commented on PROTON-1064: --------------------------------------------------------- Commit b883393baae53bd59710c1c9595dab36139a8417 in qpid-proton's branch refs/heads/master from [~aconway] [ https://git-wip-us.apache.org/repos/asf?p=qpid-proton.git;h=b883393 ] PROTON-1064: [ruby] Event handling refactor Event/handler/dispatch rework: - No wrapped C handlers, native ruby handlers - Simplified event class - MessagingHandler pure interface, can be duck-typed - Default handler logic moved to Handler::Adapter - on_error catches unhandled on_xxx_error events - on_unhandled catches all other unhandled events - dropped ruby Collector wrapper - now internal to connection_driver. Other changes - Added close(error) for all endpoints to set condition on close - Associate Connection with its Container - Transport options: sasl, idle_timeout etc. - Removed unused classes, corrected/clarified docs - Connection_driver fixes - delegate proton closes to IO > ruby: native IO based on connection_driver.c > --------------------------------------------- > > Key: PROTON-1064 > URL: https://issues.apache.org/jira/browse/PROTON-1064 > Project: Qpid Proton > Issue Type: Improvement > Components: ruby-binding > Affects Versions: 0.11.0 > Reporter: Alan Conway > Assignee: Alan Conway > Fix For: proton-c-0.19.0 > > > Refactor ruby binding to use a native Ruby IO driver with the C > pn_connection_driver for AMQP protocol support. > Ruby ConnectionDriver - drive a single connection, single threaded > - Use any ruby IO subclass > - Works with native Ruby polling primitives > - Avoids Ruby threading issue with GVL (all IO is done in Ruby) > - Thread safe function injection for MT use. > Client/server examples using native ruby connect, multi-threaded broker > example using ruby listen. -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org