startServer() Starts the QSAdminServer.
This method also sets the 'Store Objects' of QSAdminServer's
QuickServer to the following
POS 0 = QuickServer that is controled.
POS 1 = Command Plugin if present for QSAdminServer's CommandHandler
POS 3 = QSAdminServer own reference object.
Creates QSAdminServer with default settings.
By default it has been set to allow only 1 client
connection to it and binds to 127.0.0.1.
Parameters: controlServer - QuickServer to control.
Returns flag indicated if command shell is enabled.
since: 1.3.2
setAuthenticator
public void setAuthenticator(String authenticator)(Code)
Sets the Authenticator class that handles the
authentication of a client, if null uses default
Authenticator .
Parameters: authenticator - full class name of the class that implements org.quickserver.net.server.Authenticator. since: 1.3
setClientAuthenticationHandler
public void setClientAuthenticationHandler(String authenticator)(Code)
Sets the
CommandPlugin class which plugs into
CommandHandler of QsAdminServer. It should be set
before QSAdminServer is started. Or QSAdminServer must be
restarted.
Parameters: pluginClass - the fully qualified name of the desired class that implements CommandPlugin if could not load the class since: 1.2
setPromptName
public void setPromptName(String promptName)(Code)
Set the prompt name for QSAdminShell
Default values = QSAdmin since: 1.3.2
Starts the QSAdminServer.
This method also sets the 'Store Objects' of QSAdminServer's
QuickServer to the following
POS 0 = QuickServer that is controled.
POS 1 = Command Plugin if present for QSAdminServer's CommandHandler
POS 3 = QSAdminServer own reference object.