Class | Rinda::RingFinger |
In: |
lib/rinda/ring.rb
|
Parent: | Object |
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.
broadcast_list | [RW] | The list of addresses where RingFinger will send query packets. |
port | [RW] | The port that RingFinger will send query packets to. |
primary | [RW] | Contain the first advertised TupleSpace after lookup_ring_any is called. |
Creates a new RingFinger that will look for RingServers at port on the addresses in broadcast_list.
Looks up RingServers waiting timeout seconds. RingServers will be given block as a callback, which will be called with the remote TupleSpace.
Returns the first found remote TupleSpace. Any further recovered TupleSpaces can be found by calling to_a.
ruby-doc.org is a service of James Britt and Neurogami, a Ruby application development company in Phoenix, AZ.
Documentation content on ruby-doc.org is provided by remarkable members of the Ruby community.
For more information on the Ruby programming language, visit ruby-lang.org.
Want to help improve Ruby's API docs? See Ruby Documentation Guidelines.