Package | Description |
---|---|
net.i2p.router.networkdb.kademlia |
Modifier and Type | Method and Description |
---|---|
(package private) void |
SearchJob.replyFound(DatabaseSearchReplyMessage message,
Hash peer)
always send through the lease
protected DatabaseLookupMessage buildMessage(long expiration) {
DatabaseLookupMessage msg = new DatabaseLookupMessage(getContext(), true);
msg.setSearchKey(_state.getTarget());
msg.setFrom(getContext().routerHash());
msg.setDontIncludePeers(_state.getClosestAttempted(MAX_CLOSEST));
msg.setMessageExpiration(expiration);
msg.setReplyTunnel(null);
return msg;
}
|
Constructor and Description |
---|
SearchReplyJob(RouterContext enclosingContext,
SearchJob job,
DatabaseSearchReplyMessage message,
Hash peer,
long duration) |
SingleLookupJob(RouterContext ctx,
DatabaseSearchReplyMessage dsrm) |