Class: Wamp::Manager::EventEvent
- Defined in:
- lib/wamp/manager/hello_event.rb
Overview
Event Event
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
#auth, #authenticate, constantize, demodulize, #initialize, instance_from, #on_message, #run, #transmit
Constructor Details
This class inherits a constructor from Wamp::Manager::Base
Instance Method Details
#emit_event(message) ⇒ Object
138 139 140 |
# File 'lib/wamp/manager/hello_event.rb', line 138 def emit_event() session.emit(emit_event_name, ) end |
#emit_event_name ⇒ Object
134 135 136 |
# File 'lib/wamp/manager/hello_event.rb', line 134 def emit_event_name "event_#{subscription_id}" end |
#listen_event_name ⇒ Object
142 143 144 |
# File 'lib/wamp/manager/hello_event.rb', line 142 def listen_event_name raise NotImplementedError end |