net.i2p.router.networkdb.kademlia
class FloodOnlyLookupSelector extends Object implements MessageSelector
Constructor and Description |
---|
FloodOnlyLookupSelector(RouterContext ctx,
FloodOnlySearchJob 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)
Returns true if the received message matches the selector
|
public FloodOnlyLookupSelector(RouterContext ctx, FloodOnlySearchJob search)
public boolean continueMatching()
MessageSelector
continueMatching
in interface MessageSelector
public long getExpiration()
MessageSelector
getExpiration
in interface MessageSelector
public boolean isMatch(I2NPMessage message)
MessageSelector
isMatch
in interface MessageSelector