Class: RhetButler::FollowerSession
- Inherits:
-
QueueSession
- Object
- SockJS::Session
- QueueSession
- RhetButler::FollowerSession
- Defined in:
- lib/rhet-butler/messaging.rb
Instance Method Summary collapse
Methods inherited from QueueSession
Constructor Details
This class inherits a constructor from RhetButler::QueueSession
Instance Method Details
#close(*args) ⇒ Object
20 21 22 23 24 |
# File 'lib/rhet-butler/messaging.rb', line 20 def close(*args) log_info("Follower closed socket") @queue.unsubscribe(self) super end |
#opened ⇒ Object
15 16 17 18 |
# File 'lib/rhet-butler/messaging.rb', line 15 def opened log_info("Follower opened socket") @queue.subscribe(self) end |