class IterativeLookupSelector extends Object implements MessageSelector
Constructor and Description |
---|
IterativeLookupSelector(RouterContext ctx,
IterativeSearchJob search) |
Modifier and Type | Method and Description |
---|---|
boolean |
continueMatching()
Returns true if the selector should still keep searching for further matches.
|
long |
getExpiration()
Returns the # of milliseconds since the epoch after which this selector should
stop searching for matches.
|
boolean |
isMatch(I2NPMessage message)
This only returns true for DSMs, not for DSRMs.
|
String |
toString() |
public IterativeLookupSelector(RouterContext ctx, IterativeSearchJob search)
public boolean continueMatching()
MessageSelector
continueMatching
in interface MessageSelector
public long getExpiration()
MessageSelector
getExpiration
in interface MessageSelector
public boolean isMatch(I2NPMessage message)
isMatch
in interface MessageSelector