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
ServerHost s 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, toString
getApplicationConfig, getApplicationContext, getLogChannel, isLogDebug, isLogVerbose, logDebug, logDump, logError, logError, logFatal, logInfo, logVerbose, logWarning, setLogChannel
configureDumpHeadlineLength, configureDumpMaxElementsPrinted, copyDumpStringValues, copyToStringValues, createDumpHeader, toDumpString, toString
public NetworkConfig(ServerContext serverCtx) throws java.lang.Exception
java.lang.Exception
public final ServerHost fetchServerHostByName(java.lang.String serverName) throws java.lang.Exception
java.lang.Exception
public final java.util.List<ServerHost> getConfiguredServerHosts()
ServerHost
s 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.Exception
public DumpString toDumpString(DumpString s)
Dumpable
toDumpString
in interface Dumpable
toDumpString
in class DumpableObject
Copyright © 2012 EsprIT-Systems. All Rights Reserved.