るりまサーチ

最速Rubyリファレンスマニュアル検索!
48件ヒット [1-48件を表示] (0.022秒)
トップページ > クエリ:DRbObject[x] > クエリ:rinda/rinda[x]

別のキーワード

  1. rinda/rinda new
  2. rinda/rinda rinda
  3. rinda/rinda ===
  4. rinda/rinda read
  5. rinda/rinda renew

ライブラリ

クラス

キーワード

検索結果

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+....