Class Qpid::Proton::HandlerDriver
In: lib/core/connection_driver.rb
Parent: ConnectionDriver

A {ConnectionDriver} that feeds raw proton events to a handler.

Methods

dispatch   new   process  

Attributes

handler  [R]  @return [MessagingHandler] The handler dispatched to by {process}

Public Class methods

Combine an {IO} with a handler and provide a simplified way to run the driver via {process}

@param io [IO] @param handler [Handler::MessagingHandler] to receive raw events in {dispatch} and {process}

Public Instance methods

Dispatch all available raw proton events from {event} to {handler}

Do {read}, {tick}, {write} and {dispatch} without blocking. @param [Time] now the current time @return [Time] Latest time to call {process} again for scheduled events,

  or nil if there are no scheduled events

[Validate]