|
DBAbstract API Documentation | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ro.raducora.utils.props.properties.ServerProperties
Constructor Summary | |
ServerProperties()
Constructor. |
|
ServerProperties(java.lang.String filename)
Constructor. |
Method Summary | |
boolean |
allowDirectConnection()
Allow direct connections from clients that found the server through another server. |
int |
getMaxNumberOfAllowedClients()
Gets the max number of allowed clients |
void |
reload()
Reloads the Properties from properties Source |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ServerProperties() throws java.io.IOException
public ServerProperties(java.lang.String filename) throws java.io.IOException
filename
- properties filename(absolute path)Method Detail |
public boolean allowDirectConnection()
allowDirectConnection
in interface ServerProps
public int getMaxNumberOfAllowedClients()
getMaxNumberOfAllowedClients
in interface ServerProps
public void reload() throws java.io.IOException
reload
in interface Props
java.io.IOException
|
DBAbstract API Documentation | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |