Class | Rinda::RingServer |
In: |
lib/rinda/ring.rb
|
Parent: | Object |
A RingServer allows a Rinda::TupleSpace to be located via UDP broadcasts. Service location uses the following steps:
Pulls lookup tuples out of the TupleSpace and sends their DRb object the address of the local TupleSpace.
Extracts the response URI from msg and adds it to TupleSpace where it will be picked up by reply_service for notification.
Creates a thread that picks up UDP packets and passes them to do_write for decoding.
ruby-doc.org is a community service provided by James Britt and Rising Tide Software, a Phoenix, Arizona, Ruby application development company.
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.