Uploaded image for project: 'JGroups'
  1. JGroups
  2. JGRP-1297

Make generation of addresses pluggable

    XMLWordPrintable

Details

    • Feature Request
    • Status: Resolved (View Workflow)
    • Major
    • Resolution: Done
    • None
    • 2.12
    • None

    Description

      Sometimes it might be desirable to provide custom addresses (classes implementing org.jgroups.Address). One example is an address which contains additional data, e.g. an attribute that's shipped around with the address.

      SOLUTION: JChannel provides a setAddressGenerator(AddressGenerator). AddressGenerator has a method generateAddress(), which returns an Address.
      One could create a subclass of UUID, for instance, and add a string to it, and then create an instance of this subclass in generateAddress().

      Attachments

        Activity

          People

            rhn-engineering-bban Bela Ban
            rhn-engineering-bban Bela Ban
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: