java.lang.Object
net.i2p.router.JobImpl
net.i2p.router.Blocklist.BanlistJob
All Implemented Interfaces:
Job
Enclosing class:
Blocklist

private class Blocklist.BanlistJobextends JobImpl
Bans a peer for a set of its IP addresses.
  • Field Details

    • _peer

      private final Hash _peer
      The router to ban.
    • _ips

      private final List<byte[]> _ips
      The offending addresses.
  • Constructor Details

    • BanlistJob

      public BanlistJob(Hash p, List<byte[]> ips)
      Prepares to ban one router.
      Parameters:
      p - the router hash
      ips - the offending addresses
  • Method Details

    • getName

      public String getName()
      Description copied from interface: Job
      Descriptive name of the task.
      Returns:
      the descriptive name of the task
    • runJob

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