# File lib/reactor/reactor.rb, line 53 def initialize(handlers, options = {}) @impl = options[:impl] if @impl.nil? @impl = Cproton.pn_reactor end if !handlers.nil? [handlers].flatten.each {|handler| self.handler.add(handler)} end @errors = [] @handlers = [] self.class.store_instance(self, :pn_reactor_attachments) end