org.quickserver.net.qsadmin |
Overview
Contains all of the classes for creating QSAdminServer.
|
Java Source File Name | Type | Comment |
Authenticator.java | Class | Default QSAdminServer ServerAuthenticator. |
CommandHandler.java | Class | ClientCommandHandler for QSAdminServer.
= Protocol =
Each response starts with a status.
- +OK = Success
- -ERR = Failed
If response if one lined then it follows the status.
Else You will get "info follows" as the first line
followed by with many lines of response ending by a
dot in a line by itself. |
CommandPlugin.java | Interface | This interface defines the methods that should be implemented by
any class that wants to override default protocol of QsAdminServer
or add new command specific to your application.
Recommendations to be followed when implementing ClientCommandHandler
- Should be thread safe.
- It should not store any client data that may be needed in the
implementation.
- If any client data is need to be saved from the client session,
it should be saved to a
ClientData class, which can be retrieved
using handler.getClientData() method.
- Should have a default constructor - If QsAdminSupport is needed.
|
Data.java | Class | |
QSAdminAPI.java | Class | QSAdminAPI class to communicate to QsAdmin from java applications. |
QSAdminServer.java | Class | QSAdminServer Main class.
This is can be used to setup a admin server to a
org.quickserver.net.server.QuickServer , it is implemented
as a QuickServer. |
QSAdminShell.java | Class | QSAdmin Command Shell. |