Ruby Rinda::RingFinger Functions

EditRocket provides the following information on Rinda::RingFinger functions in the Ruby source code builder.

each() - Iterates over all discovered TupleSpaces starting with the primary.

finger() - Creates a singleton RingFinger and looks for a RingServer. Returns the created RingFinger.

lookup_ring(timeout=5, &block) - Looks up RingServers waiting timeout seconds. RingServers will be given block as a callback, which will be called with the remote TupleSpace.

lookup_ring_any(timeout=5) - Returns the first found remote TupleSpace. Any further recovered TupleSpaces can be found by calling to_a.

new(broadcast_list=@@broadcast_list, port=Ring_PORT) - Creates a new RingFinger that will look for RingServers at port on the addresses in broadcast_list.

primary() - Returns the first advertised TupleSpace.

to_a() - Contains all discoverd TupleSpaces except for the primary.

to_a() - Contains all discoverd TupleSpaces except for the primary.