2 # dcdbiff.rb - distributed cdbiff (client)
3 # * original: cdbiff by Satoru Takabayashi <http://namazu.org/~satoru/cdbiff>
11 def initialize(biff, command)
15 @biff.add_observer(self)
18 def update(filename, time)
19 p [filename, time] if $DEBUG
25 @biff.delete_observer(self)
33 uri = 'druby://localhost:19903'
36 biff = DRbObject.new(nil, uri)
37 notify = Notify.new(biff, command)
39 trap("INT"){ notify.done }