jxta-jxse
  1. jxta-jxse
  2. JXTA_JXSE-28

No way to disable PeerGroup publication

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: SVN
    • Fix Version/s: 2.7 Cheeseburger
    • Component/s: code
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      28

      Description

      Currently when a peer group is instantiated it will publish it's advertisement
      into the parent peergroup with default lifetime and expiration. This is not
      always appropriate. It should be possible to disable the peer group publication
      (it doesn't always make sense) and/or control the publication intervals used.

        Activity

        Hide
        adamman71 added a comment -

        With approval of Mike, re-assigning to me

        Show
        adamman71 added a comment - With approval of Mike, re-assigning to me
        Hide
        adamman71 added a comment -

        Suggestion for resolution:

        Add an additional

        newGroup(PeerGroupID gid, Advertisement impl, String name, String description,
        long lifetime, long expiration)

        method in the PeerGroup interface.

        If lifetime > 0 and expiration > 0, the group would be published in the parent
        peergroup, else not.

        Eventually, this newGroup() method could be combined with the one of issue 21.

        Show
        adamman71 added a comment - Suggestion for resolution: Add an additional newGroup(PeerGroupID gid, Advertisement impl, String name, String description, long lifetime, long expiration) method in the PeerGroup interface. If lifetime > 0 and expiration > 0, the group would be published in the parent peergroup, else not. Eventually, this newGroup() method could be combined with the one of issue 21.
        Hide
        adamman71 added a comment -

        Re-targeting

        Show
        adamman71 added a comment - Re-targeting
        Hide
        adamman71 added a comment -

        Created an attachment (id=375)
        Patch

        Show
        adamman71 added a comment - Created an attachment (id=375) Patch
        Hide
        adamman71 added a comment -

        Committed. Closing.

        Show
        adamman71 added a comment - Committed. Closing.

          People

          • Assignee:
            adamman71
            Reporter:
            bondolo
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: