net.i2p.router.networkdb.kademlia
Class IterativeFollowupJob
java.lang.Object
net.i2p.router.JobImpl
net.i2p.router.networkdb.kademlia.FloodSearchJob
net.i2p.router.networkdb.kademlia.FloodOnlySearchJob
net.i2p.router.networkdb.kademlia.SingleSearchJob
net.i2p.router.networkdb.kademlia.IterativeFollowupJob
- All Implemented Interfaces:
- Job
class IterativeFollowupJob
- extends SingleSearchJob
Ask a single peer for a single key.
This isn't really a flood-only search job at all, but we extend
FloodOnlySearchJob so we can use the same selectors, etc.
Different from SingleSearchJob in that we tell the search to add it on success.
- Since:
- 0.8.9
Fields inherited from class net.i2p.router.networkdb.kademlia.FloodSearchJob |
_created, _dead, _expiration, _facade, _isLease, _key, _log, _lookupsRemaining, _onFailed, _onFind, _timeoutMs, CONCURRENT_SEARCHES |
Method Summary |
String |
getName()
Deprecated, unused, see FOSJ override |
(package private) void |
success()
Deprecated, unused, see FOSJ override |
IterativeFollowupJob
public IterativeFollowupJob(RouterContext ctx,
Hash key,
Hash to,
IterativeSearchJob search)
getName
public String getName()
- Description copied from class:
FloodSearchJob
- Deprecated, unused, see FOSJ override
- Specified by:
getName
in interface Job
- Overrides:
getName
in class SingleSearchJob
success
void success()
- Description copied from class:
FloodSearchJob
- Deprecated, unused, see FOSJ override
- Overrides:
success
in class SingleSearchJob