Class Defaults
java.lang.Object
net.vincent.communidirect.common.Defaults
Application-wide default constants used when no explicit configuration is
present in
~/.communidirect/config.toml.
All submodules (server, client, common utilities) reference these values
through SettingsManager so
that defaults are defined in exactly one place.
This class cannot be instantiated.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringDefault filename for the access log withinDEFAULT_LOG_DIR.static final StringDefault filename for the error log withinDEFAULT_LOG_DIR.static final StringDefault bind address (loopback).static final StringDefault directory (tilde-expanded at runtime) where log files are stored.static final intDefault TCP port on which the server listens for incoming CDIR connections. -
Method Summary
-
Field Details
-
DEFAULT_PORT
public static final int DEFAULT_PORTDefault TCP port on which the server listens for incoming CDIR connections.- See Also:
-
DEFAULT_IP
Default bind address (loopback). Override inconfig.tomlfor LAN/WAN exposure.- See Also:
-
DEFAULT_LOG_DIR
Default directory (tilde-expanded at runtime) where log files are stored.- See Also:
-
DEFAULT_ACCESSLOG_NAME
Default filename for the access log withinDEFAULT_LOG_DIR.- See Also:
-
DEFAULT_ERRLOG_NAME
Default filename for the error log withinDEFAULT_LOG_DIR.- See Also:
-