public interface ResponseFilter
| Modifier and Type | Method and Description |
|---|---|
boolean |
isAcceptable(Response response,
Address sender)
Determines whether a response from a given sender should be added to the response list of the request
|
boolean |
needMoreResponses()
Right after calling
isAcceptable(Response, Address), this method is called to see whether we are done
with the request and can unblock the caller |
boolean isAcceptable(Response response, Address sender)
response - The response (usually a serializable value)sender - The sender of responseboolean needMoreResponses()
isAcceptable(Response, Address), this method is called to see whether we are done
with the request and can unblock the callerCopyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.