public class NoMuxHandlerRspFilter extends java.lang.Object implements RspFilter
NoMuxHandler responses.| 构造器和说明 |
|---|
NoMuxHandlerRspFilter() |
NoMuxHandlerRspFilter(RspFilter filter) |
| 限定符和类型 | 方法和说明 |
|---|---|
static RspFilter |
createInstance(RspFilter filter) |
RspFilter |
getFilter() |
boolean |
isAcceptable(java.lang.Object 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
RspFilter.isAcceptable(Object, Address), this method is called to see whether
we are done with the request and can unblock the caller |
public NoMuxHandlerRspFilter()
public NoMuxHandlerRspFilter(RspFilter filter)
public RspFilter getFilter()
public boolean isAcceptable(java.lang.Object response,
Address sender)
RspFilterisAcceptable 在接口中 RspFilterresponse - The response (usually a serializable value)sender - The sender of responseRspList) of a request,
otherwise false. In the latter case, we don't add the response to the response list.public boolean needMoreResponses()
RspFilterRspFilter.isAcceptable(Object, Address), this method is called to see whether
we are done with the request and can unblock the callerneedMoreResponses 在接口中 RspFilter