Class: KnocKnoc::WatchmanLive
Constant Summary
Constants inherited
from Watchman
KnocKnoc::Watchman::SUBNET
Instance Method Summary
collapse
Methods inherited from Watchman
local_ip, ping, ping_all, #refresh_lists, #update_new_ips, #update_whos_left
Constructor Details
Returns a new instance of WatchmanLive.
5
6
7
8
9
10
|
# File 'lib/knoc-knoc/watchman_live.rb', line 5
def initialize
super
Thread.new() do
refresh_lists
end
end
|
Instance Method Details
#cleanup ⇒ Object
27
28
|
# File 'lib/knoc-knoc/watchman_live.rb', line 27
def cleanup
end
|
#whos_left ⇒ Object
17
18
19
20
|
# File 'lib/knoc-knoc/watchman_live.rb', line 17
def whos_left
refresh_lists
super
end
|
#whos_new ⇒ Object
12
13
14
15
|
# File 'lib/knoc-knoc/watchman_live.rb', line 12
def whos_new
refresh_lists
super
end
|
#whos_there ⇒ Object
22
23
24
25
|
# File 'lib/knoc-knoc/watchman_live.rb', line 22
def whos_there
refresh_lists
super
end
|