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

static class I2PSnarkServlet.AnnounceListResultextends Object
Result of building the new announce list. Package-visible for testing.
  • Field Details

    • newAnnList

      final List<List<String>> newAnnList
      The rebuilt announce tiers, null when no i2p trackers remain.
    • thePrimary

      String thePrimary
      The announce URL marked primary, null if there is none.
  • Constructor Details

    • AnnounceListResult

      AnnounceListResult(List<List<String>> newAnnList, String thePrimary)
      Records the rebuilt announce tiers and the surviving primary.
      Parameters:
      newAnnList - the rebuilt announce tiers, null when no i2p trackers remain
      thePrimary - the announce URL marked primary, null if there is none