class SearchReplyJob extends JobImpl
Validates reply messages and extracts router information for search operations. Implements security measures to prevent exploitation through malformed or malicious search replies, including authentication verification and nonce checking.
Tracks statistics on good, bad, and duplicate replies to identify potentially unreliable peers and adjust search behavior accordingly.
Thread-safe implementation with comprehensive logging for debugging and monitoring of peer reliability patterns.
| Constructor and Description |
|---|
SearchReplyJob(RouterContext enclosingContext,
SearchJob job,
DatabaseSearchReplyMessage message,
Hash peer,
long duration)SearchReplyJob. |
| Modifier and Type | Method and Description |
|---|---|
String | getName()Name of this job. |
void | runJob()Process the peers referenced in the search reply. |
dropped, getContext, getJobId, getMadeReadyOn, getTiming, madeReady, requeue, toStringpublic SearchReplyJob(RouterContext enclosingContext, SearchJob job, DatabaseSearchReplyMessage message, Hash peer, long duration)
public String getName()
public void runJob()