java.lang.Object
org.klomp.snark.web.I2PSnarkServlet.BadgeInfo
Enclosing class:
I2PSnarkServlet

private static class I2PSnarkServlet.BadgeInfoextends Object
Cached per-torrent values used by the status-cell destination badge: the four-character base64 destination prefix and the client identity display name, if any.
  • Field Details

    • destPrefix

      final String destPrefix
      Base32 prefix of the peer's destination.
    • clientName

      final String clientName
      The peer's client name from the badge service.
  • Constructor Details

    • BadgeInfo

      BadgeInfo(String destPrefix, String clientName)
      Holds one peer's badge data.
      Parameters:
      destPrefix - base32 prefix of the destination
      clientName - the peer's client name