Feature #8073

Add multicast support to Rinda::Ring*

Added by Eric Hodel about 1 year ago. Updated about 1 year ago.

[ruby-core:53300]
Status:Closed
Priority:Normal
Assignee:Eric Hodel
Category:lib
Target version:2.1.0

Description

This patch adds multicast support to Rinda::Ring.

If the addresses list for Rinda::RingServer or Rinda::RingFinger contain a multicast address then a multicast socket will automatically be created and used.

Rinda::RingServer#initialize was changed to accept three arguments, but in a backwards-compatible manner.

Rinda::RingServer#shutdown was added.

Tests for socket creation were added.

rinda.multicast.patch Magnifier (8.82 KB) Eric Hodel, 03/11/2013 10:25 AM

rinda.multicast.2.patch Magnifier (8.83 KB) Eric Hodel, 03/12/2013 02:09 AM

rinda.multicast.3.patch Magnifier - Added missing () to match style (8.86 KB) Eric Hodel, 03/13/2013 06:19 AM


Related issues

Related to ruby-trunk - Bug #8159: Build failure introduced by Rinda changes Closed 03/24/2013

Associated revisions

Revision 39895
Added by Eric Hodel about 1 year ago

  • lib/rinda/ring.rb: Add multicast support to Rinda::RingFinger and
    Rinda::RingServer. [ruby-trunk - Bug #8073]

    • test/rinda/test_rinda.rb: Test for the above.
    • NEWS: Update with Rinda multicast support

History

#1 Updated by Eric Hodel about 1 year ago

Updated patch with feedback from https://gist.github.com/seki/5133692

#3 Updated by Masatoshi Seki about 1 year ago

  • Assignee changed from Masatoshi Seki to Eric Hodel

please commit this patch.

#4 Updated by Eric Hodel about 1 year ago

  • Status changed from Assigned to Closed
  • % Done changed from 0 to 100

This issue was solved with changeset r39895.
Eric, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.


  • lib/rinda/ring.rb: Add multicast support to Rinda::RingFinger and
    Rinda::RingServer. [ruby-trunk - Bug #8073]

    • test/rinda/test_rinda.rb: Test for the above.
    • NEWS: Update with Rinda multicast support

Also available in: Atom PDF