Methods
Included Modules
Attributes
| [RW] | uri |
Class Public methods
command=(cmd)
Link
Source: show
# File lib/drb/extservm.rb, line 21 def self.command=(cmd) @@command = cmd end
new()
Link
Source: show
# File lib/drb/extservm.rb, line 25 def initialize super() @cond = new_cond @servers = {} @waiting = [] @queue = Queue.new @thread = invoke_thread @uri = nil end
Instance Public methods
regist(name, ro)
Link
Source: show
# File lib/drb/extservm.rb, line 47 def regist(name, ro) synchronize do @servers[name] = ro @cond.signal end self end