Class: Wamp::Manager::HelloEvent
- Defined in:
- lib/wamp/manager/hello_event.rb
Overview
message
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
#auth, #authenticate, constantize, demodulize, #emit_event, #initialize, instance_from, #on_message, #run, #transmit
Constructor Details
This class inherits a constructor from Wamp::Manager::Base
Instance Method Details
#add_event_listener ⇒ Object
42 43 44 |
# File 'lib/wamp/manager/hello_event.rb', line 42 def add_event_listener session.transmit(payload) end |
#emit_event_name ⇒ Object
46 47 48 |
# File 'lib/wamp/manager/hello_event.rb', line 46 def emit_event_name raise RuntimeError end |
#listen_event_name ⇒ Object
50 51 52 |
# File 'lib/wamp/manager/hello_event.rb', line 50 def listen_event_name :join end |