Class: RhetButler::QueueSession

Inherits:
SockJS::Session
  • Object
show all
Includes:
Thin::Logging
Defined in:
lib/rhet-butler/messaging.rb

Direct Known Subclasses

FollowerSession, LeaderSession

Instance Method Summary collapse

Constructor Details

#initialize(connection) ⇒ QueueSession

Returns a new instance of QueueSession.



8
9
10
11
# File 'lib/rhet-butler/messaging.rb', line 8

def initialize(connection)
  super
  @queue = connection.options[:queue]
end