|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.i2p.router.networkdb.kademlia.IterativeLookupSelector
class IterativeLookupSelector
Slightly modified version of FloodOnlyLookupSelector. Always follows the DSRM entries.
| Constructor Summary | |
|---|---|
IterativeLookupSelector(RouterContext ctx,
IterativeSearchJob search)
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IterativeLookupSelector(RouterContext ctx,
IterativeSearchJob search)
| Method Detail |
|---|
public boolean continueMatching()
MessageSelector
continueMatching in interface MessageSelectorpublic long getExpiration()
MessageSelector
getExpiration in interface MessageSelectorpublic boolean isMatch(I2NPMessage message)
isMatch in interface MessageSelector
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||