Class

Rinda::TupleSpaceProxy

Inheritance
< Object

TupleSpaceProxy allows a remote Tuplespace to appear as local.

Methods

Class

Visibility Signature
public new (ts)

Instance

Visibility Signature
public notify (ev, tuple, sec=nil)
public read (tuple, sec=nil, &block)
public read_all (tuple)
public take (tuple, sec=nil, &block)
public write (tuple, sec=nil)

Class Method Detail

new(ts)

Creates a new TupleSpaceProxy to wrap ts.

Instance Method Detail

notify(ev, tuple, sec=nil)

Registers for notifications of event ev on the proxied TupleSpace. See TupleSpace#notify

read(tuple, sec=nil, &block)

Reads tuple from the proxied TupleSpace. See TupleSpace#read.

read_all(tuple)

Reads all tuples matching tuple from the proxied TupleSpace. See TupleSpace#read_all.

take(tuple, sec=nil, &block)

Takes tuple from the proxied TupleSpace. See TupleSpace#take.

write(tuple, sec=nil)

Adds tuple to the proxied TupleSpace. See TupleSpace#write.