java.lang.Object
nl.andrewl.concord_server.config.ServerConfig
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ServerConfig
loadOrCreate
(Path filePath, IdProvider idProvider) void
save()
-
Field Details
-
name
-
description
-
port
private int port -
acceptAllNewClients
private boolean acceptAllNewClients -
chatHistoryMaxCount
private int chatHistoryMaxCount -
chatHistoryDefaultCount
private int chatHistoryDefaultCount -
maxMessageLength
private int maxMessageLength -
defaultChannel
-
channels
-
discoveryServers
-
filePath
The path at which this config is stored.
-
-
Constructor Details
-
ServerConfig
public ServerConfig()
-
-
Method Details
-
loadOrCreate
-
save
- Throws:
IOException
-