| 
QuickServer v1.4.7  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.quickserver.net.qsadmin.QSAdminServer
QSAdminServer Main class.
	This is can be used to setup a admin server to a 
  QuickServer, it is implemented
  as a QuickServer. QuickServer 
  comes with a very use full method
  QuickServer.startQSAdminServer(int, java.lang.String) that
  creates  QSAdminServer associated with itself and starts it at 
  the specified port or the default port 9877.
 
startServer()| Constructor Summary | |
QSAdminServer(QuickServer controlServer)
Creates QSAdminServer with default settings.  | 
|
| Method Summary | |
 java.lang.String | 
getCommandPlugin()
Returns the CommandPlugin class which plugs into
 CommandHandler of QsAdminServer,it will be null if not set. | 
 QuickServer | 
getControlServer()
Returns the QuickServer object that is being controled by this QSAdminServer.  | 
 java.lang.String | 
getPromptName()
Gets the prompt name for QSAdminShell  | 
 QuickServer | 
getServer()
Returns the QuickServer object that created it.  | 
static java.lang.String | 
getVersion()
 | 
 boolean | 
isShellEnable()
Returns flag indicated if command shell is enabled.  | 
 void | 
setAuthenticator(java.lang.String authenticator)
Deprecated. since 1.4.6 use setClientAuthenticationHandler  | 
 void | 
setClientAuthenticationHandler(java.lang.String authenticator)
Sets the ClientAuthenticationHandler class that handles the authentication of a client, if null uses default Authenticator. | 
 void | 
setCommandPlugin(java.lang.String pluginClass)
Sets the CommandPlugin class which plugs into
 CommandHandler of QsAdminServer. | 
 void | 
setPromptName(java.lang.String promptName)
Set the prompt name for QSAdminShell Default values = QSAdmin | 
 void | 
setShellEnable(boolean flag)
Sets the flag indicated if command shell is enabled.  | 
 void | 
startServer()
Starts the QSAdminServer.  | 
 void | 
startServer(int port)
Starts the QSAdminServer.  | 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
public QSAdminServer(QuickServer controlServer)
127.0.0.1.
controlServer - QuickServer to control.| Method Detail | 
public void setAuthenticator(java.lang.String authenticator)
Authenticator.
authenticator - full class name of the class that 
 implements Authenticator.public void setClientAuthenticationHandler(java.lang.String authenticator)
Authenticator.
authenticator - full class name of the class that 
 implements ClientAuthenticationHandler.
public void startServer(int port)
                 throws AppException
port - to run QSAdminServer on
AppException
public void startServer()
                 throws AppException
                POS 0 = QuickServer that is controled.
                POS 1 = Command Plugin if present for QSAdminServer's CommandHandler
                POS 3 = QSAdminServer own reference object. 
AppExceptionpublic QuickServer getServer()
public QuickServer getControlServer()
public void setCommandPlugin(java.lang.String pluginClass)
                      throws java.lang.Exception
CommandPlugin class which plugs into
 CommandHandler of QsAdminServer. It should be set 
 before QSAdminServer is started. Or QSAdminServer must be 
 restarted.
pluginClass - the fully qualified name of the 
  desired class that implements CommandPlugin
if - could not load the class
java.lang.Exceptionpublic java.lang.String getCommandPlugin()
CommandPlugin class which plugs into
 CommandHandler of QsAdminServer,it will be null if not set.
public static java.lang.String getVersion()
public boolean isShellEnable()
public void setShellEnable(boolean flag)
public void setPromptName(java.lang.String promptName)
QSAdmin
public java.lang.String getPromptName()
  | 
QuickServer v1.4.7  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||