setClientAuthenticationHandler(String clientAuthenticationHandler) Sets the ClientAuthenticationHandler class that handles the
authentication of the client.
Sets the AdvancedSettings for the QuickServer.
Parameters: advancedSettings - AdvancedSettings object. See Also:BasicServerConfig.getAdvancedSettings since: 1.4.5
setAuthenticator
public void setAuthenticator(String authenticator)(Code)
Sets the Ip address to bind to.
Parameters: bindAddr - argument can be used on a multi-homed host for a QuickServer that will only accept connect requests to one of its addresses. If not set, it will default accepting connections on any/all local addresses.XML Tag: <bind-address></bind-address> See Also:BasicServerConfig.getBindAddr
setClientAuthenticationHandler
public void setClientAuthenticationHandler(String clientAuthenticationHandler)(Code)
Sets the ClientWriteHandler class that interacts with
client sockets.
since: 1.4.6
setCommunicationLogging
public void setCommunicationLogging(boolean enable)(Code)
Sets the communication logging flag.
See Also:BasicServerConfig.getCommunicationLogging See Also: XML Tag: <communication-logging><enable>true</enable></communication-logging> See Also: Allowed values = true | false since: 1.3.2
setConsoleLoggingFormatter
public void setConsoleLoggingFormatter(String formatter)(Code)
Sets the console log handler formatter.
XML Tag: <console-logging-formatter></console-logging-formatter>
Parameters: formatter - fully qualified name of the class that implements java.util.logging.Formatter
setConsoleLoggingLevel
public void setConsoleLoggingLevel(String level)(Code)
Sets the console log handler level.
XML Tag: <console-logging-level></console-logging-level>
Parameters: level - like INFO, FINE, CONFIG
Sets the DefaultDataMode for the QuickServer.
Parameters: defaultDataMode - DefaultDataMode object. See Also:BasicServerConfig.getDefaultDataMode since: 1.4.6
Sets message to be displayed when maximum allowed login
attempts has reached.
Default is : -ERR Max Auth Try Reached
XML Tag: <max-auth-try-msg></max-auth-try-msg>
See Also:BasicServerConfig.getMaxAuthTryMsg
setMaxConnection
public void setMaxConnection(long maxConnection)(Code)
Sets the maximum number of client connection allowed..
XML Tag: <max-connection></max-connection>
See Also:BasicServerConfig.getMaxConnection
setMaxConnectionMsg
public void setMaxConnectionMsg(String maxConnectionMsg)(Code)
Sets the message to be sent to any new client connected after
maximum client connection has reached.
Default is : -ERR Server Busy. Max Connection Reached
XML Tag: <max-connection-msg></max-connection-msg>
See Also:BasicServerConfig.getMaxConnectionMsg
Sets the port for the QuickServer to listen on.
If not set, it will run on Port 9876
XML Tag: <port></port>
Parameters: port - to listen on. See Also:BasicServerConfig.getPort
Sets the Client Socket timeout in milliseconds.
XML Tag: <timeout></timeout>
Parameters: time - client socket timeout in milliseconds. See Also:BasicServerConfig.getTimeout