Class: Wamp::Manager::Event::Welcome
- Defined in:
- lib/wamp/manager/event/welcome.rb
Overview
Welcome Message Event
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
#error?, #initialize, #listen_event_name, #transmit
Constructor Details
This class inherits a constructor from Wamp::Manager::Event::Base
Instance Method Details
#emit_event(welcome) ⇒ Object
14 15 16 17 |
# File 'lib/wamp/manager/event/welcome.rb', line 14 def emit_event(welcome) session.session_id = welcome.session_id session.emit(emit_event_name, session) end |
#emit_event_name ⇒ Object
10 11 12 |
# File 'lib/wamp/manager/event/welcome.rb', line 10 def emit_event_name :join end |