Class: Wamp::Manager::Event::Goodbye
- Defined in:
- lib/wamp/manager/event/goodbye.rb
Overview
Abort Message Event
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Abort
Methods inherited from Base
#emit_event_name, #error?, #initialize, #listen_event_name, #transmit
Constructor Details
This class inherits a constructor from Wamp::Manager::Event::Base
Instance Method Details
#emit_event(_message) ⇒ Object
10 11 12 13 14 |
# File 'lib/wamp/manager/event/goodbye.rb', line 10 def emit_event() reply = Message::Goodbye.new({}, "wamp.close.goodbye_and_out") session.transmit(reply.payload) super end |