java.lang.Object
net.i2p.sam.SAMBridge.Options
Enclosing class:
SAMBridge

private static class SAMBridge.Optionsextends Object
Parsed command-line options for the SAM bridge.
  • Field Details

    • host

      private final String host
      Host the bridge listens on.
    • keyFile

      private final String keyFile
      Key file holding the SAM keys.
    • port

      private final int port
      Port the bridge listens on.
    • opts

      private final Properties opts
      I2CP options for the sessions.
    • isSSL

      private final boolean isSSL
      True if the builder wants SSL.
    • configFile

      private final File configFile
      Config file for the SAM keys.
  • Constructor Details

    • Options

      public Options(String host, int port, boolean isSSL, Properties opts, String keyFile, File configFile)
      Configure with parsed command-line values.
      Parameters:
      host - hostname to listen on
      port - TCP port to listen on
      isSSL - true to serve SAM over SSL
      opts - parsed name=value bridge options
      keyFile - keystore file name for SSL, may be null
      configFile - i2p-tunnel-props config file, may be null