[jboss-jira] [JBoss JIRA] Commented: (JGRP-1193) Simplify RspFilter interface
Vladimir Blagojevic (JIRA)
jira-events at lists.jboss.org
Wed Apr 21 10:38:10 EDT 2010
[ https://jira.jboss.org/jira/browse/JGRP-1193?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12526826#action_12526826 ]
Vladimir Blagojevic commented on JGRP-1193:
-------------------------------------------
Proposed enum definition:
public enum RspFilterResult{
ACCEPTABLE_NEEDS_MORE_RESPONSES,
ACCEPTABLE_PROCESSED_ALL,
UNACCEPTABLE_NEEDS_MORE_RESPONSES,
UNACCEPTABLE_PROCESSED_ALL,
}
> Simplify RspFilter interface
> ----------------------------
>
> Key: JGRP-1193
> URL: https://jira.jboss.org/jira/browse/JGRP-1193
> Project: JGroups
> Issue Type: Task
> Affects Versions: 2.7, 2.8, 2.9
> Reporter: Vladimir Blagojevic
> Assignee: Vladimir Blagojevic
> Fix For: 3.0
>
>
> 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
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list