Class SingleLookupJob

java.lang.Object
net.i2p.router.JobImpl
net.i2p.router.networkdb.kademlia.SingleLookupJob
All Implemented Interfaces:
Job

class SingleLookupJob
extends JobImpl
Ask the peer who sent us the DSRM for the RouterInfos... ... but If we have the routerInfo already, try to refetch it from that router itself, (if the info is old or we don't think it is floodfill) which will help us establish that router as a good floodfill and speed our integration into the network. A simple version of SearchReplyJob in SearchJob.java. Skip the profile updates - this should be rare.
  • Field Details

    • MAX_TO_FOLLOW

      public static final int MAX_TO_FOLLOW
      I2NP spec allows 255, max actually sent (in ../HDLMJ) is 3, so just to prevent trouble, we don't want to queue 255 jobs at once
  • Constructor Details

  • Method Details

    • runJob

      public void runJob()
      Description copied from interface: Job
      Actually perform the task. This call blocks until the Job is complete.
    • getName

      public String getName()
      Description copied from interface: Job
      Descriptive name of the task