Class: RhetButler::LeaderSession
Instance Method Summary
collapse
#initialize
Instance Method Details
#close(*args) ⇒ Object
32
33
34
|
# File 'lib/rhet-butler/messaging.rb', line 32
def close(*args)
log_info("Leader closed socket")
end
|
#opened ⇒ Object
28
29
30
|
# File 'lib/rhet-butler/messaging.rb', line 28
def opened
log_info("Leader opened socket")
end
|
#process_message(message) ⇒ Object
36
37
38
39
40
|
# File 'lib/rhet-butler/messaging.rb', line 36
def process_message(message)
log_info("Leader moved to slide #{message}")
@queue.current_slide = message
@queue.enqueue(message)
end
|