Class: Wamp::Manager::ErrorEvent
- Defined in:
- lib/wamp/manager/hello_event.rb
Overview
Error 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
87 88 89 |
# File 'lib/wamp/manager/hello_event.rb', line 87 def emit_event() session.emit(emit_event_name, nil, ) end |
#emit_event_name ⇒ Object
83 84 85 |
# File 'lib/wamp/manager/hello_event.rb', line 83 def emit_event_name "request_#{request_id}" end |