java.lang.Object
net.i2p.sam.SAMBridge.Options
- Enclosing class:
SAMBridge
Parsed command-line options for the SAM bridge.
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final FileConfig file for the SAM keys.private final StringHost the bridge listens on.private final booleanTrue if the builder wants SSL.private final StringKey file holding the SAM keys.private final PropertiesI2CP options for the sessions.private final intPort the bridge listens on.Constructor Summary
ConstructorsConstructorDescriptionOptions(String host, int port, boolean isSSL, Properties opts, String keyFile, File configFile) Configure with parsed command-line values.Method Summary
Field Details
host
Host the bridge listens on.keyFile
Key file holding the SAM keys.port
private final int portPort the bridge listens on.opts
I2CP options for the sessions.isSSL
private final boolean isSSLTrue if the builder wants SSL.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 onport- TCP port to listen onisSSL- true to serve SAM over SSLopts- parsed name=value bridge optionskeyFile- keystore file name for SSL, may be nullconfigFile- i2p-tunnel-props config file, may be null