public interface SimpleServerConfig extends PropertiesSupport
Modifier and Type | Method and Description |
---|---|
SimpleServerConfig |
addCommandFactory(CommandFactory factory) |
void |
addPropertyChangeListener(java.beans.PropertyChangeListener listener) |
java.util.Collection<CommandFactory> |
getCommandFactories() |
int |
getPort() |
java.lang.String |
getServerInfo() |
int |
getTimeout() |
void |
removeCommandFactory(CommandFactory factory) |
void |
removeCommandFactory(java.lang.String name) |
void |
removePropertyChangeListener(java.beans.PropertyChangeListener listener) |
SimpleServerConfig |
setPort(int port) |
SimpleServerConfig |
setServerInfo(java.lang.String serverInfo) |
SimpleServerConfig |
setTimeout(int timeout) |
getProperties, getProperty, setProperty
int getPort()
int getTimeout()
java.lang.String getServerInfo()
SimpleServerConfig setPort(int port)
SimpleServerConfig setTimeout(int timeout)
SimpleServerConfig setServerInfo(java.lang.String serverInfo)
SimpleServerConfig addCommandFactory(CommandFactory factory)
void removeCommandFactory(java.lang.String name)
void removeCommandFactory(CommandFactory factory)
java.util.Collection<CommandFactory> getCommandFactories()
void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
void removePropertyChangeListener(java.beans.PropertyChangeListener listener)