48件ヒット
[1-48件を表示]
(0.022秒)
種類
- クラス (12)
- ライブラリ (12)
- インスタンスメソッド (12)
- 特異メソッド (12)
ライブラリ
-
rinda
/ rinda (36)
クラス
キーワード
- === (12)
- DRbObjectTemplate (12)
- new (12)
検索結果
先頭4件
-
rinda
/ rinda (38024.0) -
Rubyで実装されたタプルスペース(Tuple Space)を扱うためのライブラリです。
...join
# rindas.rb
require 'drb/drb'
require 'rinda/rinda'
def do_it(v)
puts "do_it(#{v})"
v + v
end
uri = ARGV.shift || raise("usage: #{$0} <server_uri>")
DRb.start_service
ts = Rinda::TupleSpaceProxy.new(DRbObject.new(nil, uri))
while true
r = ts.take(['su......ite(['ans', r[1], r[2], v])
end
# rindac.rb
require 'drb/drb'
require 'rinda/rinda'
uri = ARGV.shift || raise("usage: #{$0} <server_uri>")
DRb.start_service
ts = Rinda::TupleSpaceProxy.new(DRbObject.new(nil, uri))
(1..10).each do |n|
ts.write(['sum', DRb.uri, n])
end... -
Rinda
:: DRbObjectTemplate (14000.0) -
-
Rinda
:: DRbObjectTemplate # ===(ro) (11000.0) -
@todo
...@todo
This DRbObjectTemplate matches +ro+ if the remote object's drburi
and drbref are the same. +nil+ is used as a wildcard.... -
Rinda
:: DRbObjectTemplate . new(uri = nil , ref = nil) (11000.0) -
@todo
...@todo
Creates a new DRbObjectTemplate that will match against +uri+ and
+ref+....