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

Simplify RspFilter interface

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • Major
    • 3.0
    • 2.7, 2.8, 2.9
    • None

    Description

      RspFilter interface although having only two methods in its contract has been a source of some confusion regarding the semantics of response filtering. In order to simplify and make response filtering semantics easier to understand and implement a new RspFilter has been proposed for 3.0.

      RspFilterResult responseReceived(Object response, Address sender);

      RspFilterResult is an enum with four states where each state is essentially a combination of two boolean variables: validResponse and needMoreResponses.

      Original discussion reference:
      http://sourceforge.net/mailarchive/forum.php?thread_name=4BC8943F.2000101%40yahoo.com&forum_name=javagroups-development

      Attachments

        Activity

          People

            vblagoje Vladimir Blagojevic (Inactive)
            vblagoje Vladimir Blagojevic (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: