class IterativeLookupSelector extends Object implements MessageSelector
| Constructor and Description |
|---|
IterativeLookupSelector(RouterContext ctx,
IterativeSearchJob search)IterativeLookupSelector. |
| Modifier and Type | Method and Description |
|---|---|
boolean | continueMatching()Continue matching until a match is found or the search expires. |
long | getExpiration()Absolute time when the search expires, or -1 once a match is found. |
boolean | isMatch(I2NPMessage message)This only returns true for DSMs, not for DSRMs. |
String | toString()Returns a string representation of this selector. |
public IterativeLookupSelector(RouterContext ctx, IterativeSearchJob search)
public boolean continueMatching()
continueMatching in interface MessageSelectorpublic long getExpiration()
getExpiration in interface MessageSelectorpublic boolean isMatch(I2NPMessage message)
isMatch in interface MessageSelector