class FloodOnlyLookupSelector extends Object implements MessageSelector
Matches incoming DatabaseStoreMessage and DatabaseSearchReplyMessage responses to specific flood-only search jobs. Handles response validation, lookup decrement tracking, and coordinates followup searches through SingleLookupJob when appropriate.
Largely superseded by IterativeLookupSelector but retained for compatibility with existing flood-only search implementations. Provides specialized logic for flood-based search response handling with profile management and search lifecycle coordination.
| Constructor and Description |
|---|
FloodOnlyLookupSelector(RouterContext ctx,
FloodOnlySearchJob search)FloodOnlyLookupSelector. |
| Modifier and Type | Method and Description |
|---|---|
boolean | continueMatching()continueMatching. |
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. |
String | toString()Returns a string representation of this selector. |
public FloodOnlyLookupSelector(RouterContext ctx, FloodOnlySearchJob search)
public boolean continueMatching()
continueMatching in interface MessageSelectorpublic long getExpiration()
MessageSelectorgetExpiration in interface MessageSelectorpublic boolean isMatch(I2NPMessage message)
MessageSelectorisMatch in interface MessageSelector