public class SelfDeliverFilter extends Object implements ResponseFilter
| Constructor and Description |
|---|
SelfDeliverFilter(Address localAddress) |
| 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
ResponseFilter.isAcceptable(Response, Address), this method is called to see whether we are done
with the request and can unblock the caller |
public SelfDeliverFilter(Address localAddress)
public boolean isAcceptable(Response response, Address sender)
ResponseFilterisAcceptable in interface ResponseFilterresponse - The response (usually a serializable value)sender - The sender of responsepublic boolean needMoreResponses()
ResponseFilterResponseFilter.isAcceptable(Response, Address), this method is called to see whether we are done
with the request and can unblock the callerneedMoreResponses in interface ResponseFilterCopyright © 2014 JBoss, a division of Red Hat. All Rights Reserved.