Module

Rinda

A module to implement the Linda distributed computing paradigm in Ruby.

Rinda is part of DRb (dRuby).

Example(s)

See the sample/drb/ directory in the Ruby distribution, from 1.8.2 onwards.

Classes
DRbObjectTemplate Documentation?
InvalidHashTupleKey Raised when a hash-based tuple has an invalid key.
NotifyTemplateEntry A NotifyTemplateEntry is returned by TupleSpace#notify and is notified of TupleSpace changes. You may receive either your subscribed event or the ‘close’ event when iterating over notifications.
RequestCanceledError Raised when trying to use a canceled tuple.
RequestExpiredError Raised when trying to use an expired tuple.
RindaError Rinda error base class
RingFinger RingFinger is used by RingServer clients to discover the RingServer’s TupleSpace. Typically, all a client needs to do is call RingFinger.primary to retrieve the remote TupleSpace, which it can then begin using.
RingProvider RingProvider uses a RingServer advertised TupleSpace as a name service. TupleSpace clients can register themselves with the remote TupleSpace and look up other provided services via the remote TupleSpace.
RingServer A RingServer allows a Rinda::TupleSpace to be located via UDP broadcasts. Service location uses the following steps:
SimpleRenewer An SimpleRenewer allows a TupleSpace to check if a TupleEntry is still alive.
Template Templates are used to match tuples in Rinda.
TemplateEntry A TemplateEntry is a Template together with expiry and cancellation data.
Tuple A tuple is the elementary object in Rinda programming. Tuples may be matched against templates if the tuple and the template are the same size.
TupleBag TupleBag is an unordered collection of tuples. It is the basis of Tuplespace.
TupleEntry A TupleEntry is a Tuple (i.e. a possible entry in some Tuplespace) together with expiry and cancellation data.
TupleSpace The Tuplespace manages access to the tuples it contains, ensuring mutual exclusion requirements are met.
TupleSpaceProxy TupleSpaceProxy allows a remote Tuplespace to appear as local.
WaitTemplateEntry Documentation?
Constants
Ring_PORT The default port Ring discovery will use.
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.