Class: Wamp::MessageHandler::Event
- Defined in:
- lib/wamp/message_handler/event.rb
Overview
publish event to subscriber
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Wamp::MessageHandler::Base
Instance Method Details
#alt_store_key ⇒ Object
13 14 15 |
# File 'lib/wamp/message_handler/event.rb', line 13 def alt_store_key "subscription_#{.subscription_id}" end |
#handle ⇒ Object
7 8 9 10 11 |
# File 'lib/wamp/message_handler/event.rb', line 7 def handle store[alt_store_key].fetch(:handler).call() end |