Class: Wamp::Manager::AbortEvent
- Defined in:
- lib/wamp/manager/hello_event.rb
Overview
Abort Event
Direct Known Subclasses
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
72 73 74 75 |
# File 'lib/wamp/manager/hello_event.rb', line 72 def emit_event() session.emit(emit_event_name, ) session.close(1000, .reason) end |
#emit_event_name ⇒ Object
68 69 70 |
# File 'lib/wamp/manager/hello_event.rb', line 68 def emit_event_name :close end |