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) |
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Descriptive name of the task
|
void |
runJob()
Actually perform the task.
|
dropped, getContext, getJobId, getMadeReadyOn, getTiming, madeReady, requeue, toStringpublic SearchReplyJob(RouterContext enclosingContext, SearchJob job, DatabaseSearchReplyMessage message, Hash peer, long duration)