java.lang.Object
net.i2p.i2pcontrol.I2PControlVersion

public class I2PControlVersionextends Object
Version information and API compatibility for I2PControl interface. Manages supported API versions and compatibility checks.
  • Field Details

    • VERSION

      public static final String VERSION
      The current version of I2PControl
      See Also:
    • API_VERSION

      public static final int API_VERSION
      The current version of the I2PControl API being primarily being implemented
      See Also:
    • SUPPORTED_API_VERSIONS

      public static final Set<Integer> SUPPORTED_API_VERSIONS
      The supported versions of the I2PControl API
  • Constructor Details

    • I2PControlVersion

      public I2PControlVersion()
      Constructor. The version number and the supported API set are filled in by the static initializer, so an instance holds nothing.