Module: AMQ::Client::Async::ProtocolMethodHandlers
Overview
RegisterEntityMixin
Instance Method Summary collapse
Instance Method Details
#handle(klass, &block) ⇒ Object
24 25 26 |
# File 'lib/amq/client/async/entity.rb', line 24 def handle(klass, &block) AMQ::Client::HandlersRegistry.register(klass, &block) end |
#handlers ⇒ Object
28 29 30 |
# File 'lib/amq/client/async/entity.rb', line 28 def handlers AMQ::Client::HandlersRegistry.handlers end |