public class NetworkConfig extends AbstractServerObject<ServerContext>
ServerFiles.NETWORK_CFG| Constructor and Description |
|---|
NetworkConfig(ServerContext serverCtx) |
| Modifier and Type | Method and Description |
|---|---|
ServerHost |
fetchServerHostByName(java.lang.String serverName) |
ServerHost[] |
getCoClientEntries() |
java.util.List<ServerHost> |
getConfiguredServerHosts()
Returns all
ServerHosts defined in the network config file |
ServerHost[] |
getCoServerEntries() |
int |
getPortNumberForServer(java.lang.String srvName) |
DumpString |
toDumpString(DumpString s)
This method allows subclasses to add values to the existing DumpString of the superclass.
|
getServerConfig, getServerContext, getServerParams, getServerStartup, getStatisticManager, toStringgetApplicationConfig, getApplicationContext, getLogChannel, isLogDebug, isLogVerbose, logDebug, logDump, logError, logError, logFatal, logInfo, logVerbose, logWarning, setLogChannelconfigureDumpHeadlineLength, configureDumpMaxElementsPrinted, copyDumpStringValues, copyToStringValues, createDumpHeader, toDumpString, toStringpublic NetworkConfig(ServerContext serverCtx) throws java.lang.Exception
java.lang.Exceptionpublic final ServerHost fetchServerHostByName(java.lang.String serverName) throws java.lang.Exception
java.lang.Exceptionpublic final java.util.List<ServerHost> getConfiguredServerHosts()
ServerHosts defined in the network config filepublic final ServerHost[] getCoClientEntries()
public final ServerHost[] getCoServerEntries()
public final int getPortNumberForServer(java.lang.String srvName)
throws java.lang.Exception
java.lang.Exceptionpublic DumpString toDumpString(DumpString s)
DumpabletoDumpString in interface DumpabletoDumpString in class DumpableObjectCopyright © 2012 EsprIT-Systems. All Rights Reserved.