java.lang.Object
net.i2p.router.Blocklist.Entry
Enclosing class:
Blocklist

private static class Blocklist.Entryextends Object
The result of parsing one line.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    (package private) final String
    The comment extracted from the line.
    (package private) final byte[]
    The starting IP address.
    (package private) final byte[]
    The ending IP address.
    (package private) final Hash
    The router hash, if this is a hash entry.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Entry(String c, Hash h, byte[] i1, byte[] i2)
    Creates an entry from its fields.
  • Method Summary

    Methods inherited from class Object

    clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • comment

      final String comment
      The comment extracted from the line.
    • ip1

      final byte[] ip1
      The starting IP address.
    • ip2

      final byte[] ip2
      The ending IP address.
    • peer

      final Hash peer
      The router hash, if this is a hash entry.
  • Constructor Details

    • Entry

      public Entry(String c, Hash h, byte[] i1, byte[] i2)
      Creates an entry from its fields.
      Parameters:
      c - the free-text note carried over into the ban reason, may be null
      h - the router hash (may be null)
      i1 - the starting IP
      i2 - the ending IP